@patch('salt.modules.bower._check_valid_version',
           MagicMock(return_value=True))
    def test_install_existing_package(self):
        mock = MagicMock(return_value={'retcode': 0,
                                       'stdout': '{}'})
        with patch.dict(bower.__salt__, {'cmd.run_all': mock}):
            self.assertFalse(bower.install('/path/to/project', 'underscore'))
Set multiple keys to multiple values
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/bower_test.py/BowerTestCase.test_install_existing_package--crossover with--dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.mset