mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
A more liberal search minion strings in manage test
Correct falures where the formatting is slightly different.
This commit is contained in:
parent
8d82f7aae5
commit
dfcc14ad45
@ -24,8 +24,8 @@ class ManageTest(integration.ShellCase):
|
||||
ret = self.run_run_plus('manage.up')
|
||||
self.assertIn('minion', ret['return'])
|
||||
self.assertIn('sub_minion', ret['return'])
|
||||
self.assertIn('- minion', ret['out'])
|
||||
self.assertIn('- sub_minion', ret['out'])
|
||||
self.assertTrue(any('- minion' in out for out in ret['out']))
|
||||
self.assertTrue(any('- sub_minion' in out for out in ret['out']))
|
||||
|
||||
def test_down(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user