Merge pull request #44697 from Ch3LL/show_top_test

Sort the show_top results for test_state_show_top test
This commit is contained in:
Nicole Thomas 2017-11-28 15:35:40 -05:00 committed by GitHub
commit 5d82df5667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(ret, {u'base': list(set([u'master_tops_test']).union([u'core']))})
def test_state_single(self):
'''