mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixing test_local_batch
This commit is contained in:
parent
ff14b99752
commit
83accf3b20
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ class NetapiClientTest(TestCase):
|
|||
rets = []
|
||||
for _ret in ret:
|
||||
rets.append(_ret)
|
||||
self.assertEqual(rets, [{u'sub_minion': True}, {u'minion': True}, {'localhost': True}])
|
||||
self.assertEqual(rets.sort(), [{'localhost': True},
|
||||
{'sub_minion': True},
|
||||
{'minion': True}].sort())
|
||||
|
||||
def test_local_async(self):
|
||||
low = {'client': 'local_async', 'tgt': '*', 'fun': 'test.ping'}
|
||||
|
|
Loading…
Add table
Reference in a new issue