diff --git a/tests/test_progit_flask_ui_app.py b/tests/test_progit_flask_ui_app.py index cdaf071..3c2cf07 100644 --- a/tests/test_progit_flask_ui_app.py +++ b/tests/test_progit_flask_ui_app.py @@ -55,13 +55,17 @@ class PagureFlaskApptests(tests.Modeltests): output = self.app.get('/') self.assertEqual(output.status_code, 200) - self.assertTrue('
No projects found
'), 2) + self.assertEqual( + output.data.count('2 users registered.
' in output.data) - self.assertTrue('' in output.data) - self.assertTrue('' in output.data) + self.assertIn( + '