diff --git a/tests/test_pagure_flask_ui_issues.py b/tests/test_pagure_flask_ui_issues.py index 7ccf118..4664c92 100644 --- a/tests/test_pagure_flask_ui_issues.py +++ b/tests/test_pagure_flask_ui_issues.py @@ -233,7 +233,7 @@ class PagureFlaskIssuestests(tests.Modeltests): 'div class="projectinfo m-t-1 m-b-1">\ntest project #1 ' '', output.data) self.assertTrue( - '

\n 0 Open Issues' in output.data) + '

\n 0 Open Issues' in output.data) # Create issues to play with repo = pagure.lib.get_project(self.session, 'test') @@ -253,21 +253,21 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertEqual(output.status_code, 200) self.assertIn('Issues - test - Pagure', output.data) self.assertTrue( - '

\n 1 Open Issues' in output.data) + '

\n 1 Open Issues' in output.data) # Status = closed output = self.app.get('/test/issues?status=cloSED') self.assertEqual(output.status_code, 200) self.assertIn('Issues - test - Pagure', output.data) self.assertTrue( - '

\n 0 Closed Issues' in output.data) + '

\n 0 Closed Issues' in output.data) # Status = fixed output = self.app.get('/test/issues?status=fixed') self.assertEqual(output.status_code, 200) self.assertIn('Issues - test - Pagure', output.data) self.assertTrue( - '

\n 0 Closed Issues' in output.data) + '

\n 0 Closed Issues' in output.data) # Project w/o issue tracker repo = pagure.lib.get_project(self.session, 'test')