Remove extra patch

This commit is contained in:
rallytime 2018-02-09 09:41:35 -05:00
parent b96f4cf8ad
commit 9c49c8d47c
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -329,7 +329,6 @@ class LocalemodTestCase(TestCase, LoaderModuleMockMixin):
assert localemod.__salt__['file.replace'].call_args[0][1] == '^LANG=.*'
assert localemod.__salt__['file.replace'].call_args[0][2] == 'LANG="{}"'.format(loc)
@patch('salt.utils.path.which', MagicMock(return_value=None))
@patch('salt.utils.path.which', MagicMock(return_value='/usr/sbin/update-locale'))
@patch('salt.modules.localemod.__grains__', {'os_family': 'Debian', 'osmajorrelease': 42})
@patch('salt.modules.localemod.dbus', None)