diff --git a/tests/test_pagure_flask_api_issue.py b/tests/test_pagure_flask_api_issue.py index fb3e277..5ff71b6 100644 --- a/tests/test_pagure_flask_api_issue.py +++ b/tests/test_pagure_flask_api_issue.py @@ -1914,8 +1914,8 @@ class PagureFlaskApiIssuetests(tests.Modeltests): # Check that the reviewstatus list field still has its list if key.name == "reviewstatus": - for item in ['ack', 'nack', 'needs review']: - self.assertTrue(item in key.data) + self.assertEqual( + sorted(key.data), ['ack', 'nack', 'needs review']) # No value specified while we try to create the field output = self.app.post(