Clean up integration test checks to be more encompassing

This commit is contained in:
rallytime 2017-04-24 15:12:20 -06:00
parent 5d8878dfdc
commit 44623863fa

View file

@ -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'])
)