Commit 1b213ebc authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Check list_entities on sorted output

parent 105e3cc2
......@@ -119,7 +119,7 @@ class QHAPITest(QHTestCase):
def test_001_list_entities(self):
r = self.qh.list_entities(entity='system', key='')
self.assertEqual(r, ['system', self.e_name])
self.assertEqual(sorted(r), sorted(['system', self.e_name]))
with self.assertRaises(NoEntityError):
self.qh.list_entities(entity='doesnotexist', key='')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment