convert the assert to a union set instead

This commit is contained in:
Ch3LL 2017-11-28 10:57:55 -05:00
parent add43c4cfe
commit 974db59dc1
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -57,7 +57,7 @@ class SSHStateTest(SSHCase):
test state.show_top with salt-ssh
'''
ret = self.run_function('state.show_top')
self.assertEqual(sorted(ret['base']), ['core', 'master_tops_test'])
self.assertEqual(ret, {u'base': list(set([u'master_tops_test']).union([u'core']))})
def test_state_single(self):
'''