mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Clean up integration test checks to be more encompassing
This commit is contained in:
parent
5d8878dfdc
commit
44623863fa
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ class LocaleModuleTest(ModuleCase):
|
|||
if char_maps['stdout'] == '':
|
||||
self.skipTest('locale charmaps not available. Skipping test.')
|
||||
|
||||
err_msg = 'cannot read character map directory'
|
||||
if char_maps['retcode'] != 0 and err_msg in char_maps['stderr']:
|
||||
if char_maps['retcode'] and char_maps['stderr']:
|
||||
self.skipTest('{0}. Cannot generate locale. Skipping test.'.format(
|
||||
char_maps['stderr'])
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue