mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add check on gen_locale for Suse-specific path
This commit is contained in:
parent
58dde2ccbc
commit
16419ec6d3
@ -421,6 +421,7 @@ class LocalemodTestCase(TestCase, LoaderModuleMockMixin):
|
||||
assert localemod.log.error.called
|
||||
msg = localemod.log.error.call_args[0][0] % (localemod.log.error.call_args[0][1],
|
||||
localemod.log.error.call_args[0][2])
|
||||
assert localemod.os.listdir.call_args[0][0] == '/usr/share/locale'
|
||||
assert msg == 'The provided locale "en_GB.utf8" is not found in /usr/share/locale'
|
||||
|
||||
def test_gen_locale_debian(self):
|
||||
|
Loading…
Reference in New Issue
Block a user