Fix occasional test failure by assertListEqual
Change-Id: I56a52f76b52286d9b1b236137cc8f41d8f4bac47
This commit is contained in:
parent
76ff7c75a7
commit
04e2948b9d
@ -166,7 +166,7 @@ class WorkflowTestsV2(base.TestCase):
|
||||
self.assertEqual(200, resp.status)
|
||||
|
||||
for wf in body['workflows']:
|
||||
self.assertListEqual(['id', 'name'], wf.keys())
|
||||
self.assertListEqual(sorted(['id', 'name']), sorted(list(wf)))
|
||||
|
||||
@test.attr(type='smoke')
|
||||
def test_get_list_workflows_with_pagination(self):
|
||||
|
Loading…
Reference in New Issue
Block a user