Sort the show_top results for test_state_show_top test

This commit is contained in:
Ch3LL 2017-11-27 15:23:53 -05:00
parent f2f6817e86
commit add43c4cfe
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(ret, {u'base': [u'master_tops_test', u'core']})
self.assertEqual(sorted(ret['base']), ['core', 'master_tops_test'])
def test_state_single(self):
'''