diff --git a/tests/test_pagure_flask_ui_priorities.py b/tests/test_pagure_flask_ui_priorities.py index f73a0ae..9666b0a 100644 --- a/tests/test_pagure_flask_ui_priorities.py +++ b/tests/test_pagure_flask_ui_priorities.py @@ -216,6 +216,11 @@ class PagureFlaskPrioritiestests(tests.Modeltests): self.assertIn( 'Settings - test - Pagure', output.data) self.assertIn('

Settings for test

', output.data) + # Check the ordering + self.assertTrue( + output.data.find('High') < output.data.find('Normal')) + self.assertTrue( + output.data.find('Normal') < output.data.find('Low')) # Check the result of the action -- Priority recorded repo = pagure.lib.get_project(self.session, 'test') self.assertEqual(