mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Change to sets, we don't gaurantee minion ordering in returns
This commit is contained in:
parent
7614f7ed10
commit
77395d76d8
@ -42,7 +42,7 @@ class NetapiClientTest(TestCase):
|
||||
# Remove all the volatile values before doing the compare.
|
||||
self.assertIn('jid', ret)
|
||||
ret.pop('jid', None)
|
||||
self.assertEqual(ret, {'minions': ['minion', 'sub_minion']})
|
||||
self.assertEqual(set(ret['minions']), set(['minion', 'sub_minion']))
|
||||
|
||||
def test_wheel(self):
|
||||
low = {'client': 'wheel', 'fun': 'key.list_all'}
|
||||
|
Loading…
Reference in New Issue
Block a user