Merge "Modify use of assertTrue(A in B)"
This commit is contained in:
commit
d331013138
@ -501,7 +501,7 @@ class TestConfigChecks(TestConfigCheckBase):
|
||||
with self.assertRaises(SystemExit) as context:
|
||||
get_inventory()
|
||||
expectedLog = "provider networks can't be found under global_overrides"
|
||||
self.assertTrue(expectedLog in context.exception.message)
|
||||
self.assertIn(expectedLog, context.exception.message)
|
||||
|
||||
def test_global_overrides_check(self):
|
||||
# create config file without global_overrides
|
||||
|
Loading…
Reference in New Issue
Block a user