diff --git a/tests/test_pagure_flask_ui_fork.py b/tests/test_pagure_flask_ui_fork.py index 858e12d..a2c34d8 100644 --- a/tests/test_pagure_flask_ui_fork.py +++ b/tests/test_pagure_flask_ui_fork.py @@ -2562,9 +2562,9 @@ More information output_text, ) self.assertIn( - ' master', + '' + ' master', output_text, ) @@ -2787,9 +2787,9 @@ More information output_text, ) self.assertIn( - ' master', + '' + ' master', output_text, ) @@ -3104,15 +3104,15 @@ More information output_text, ) self.assertIn( - ' master', + '' + ' master', output_text, ) self.assertIn( - ' random_branch', + '' + ' random_branch', output_text, ) @@ -3206,15 +3206,15 @@ More information output_text, ) self.assertIn( - ' master', + '' + ' master', output_text, ) self.assertIn( - ' random_branch', + '' + ' random_branch', output_text, ) @@ -4775,13 +4775,13 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests): " - Pagure", output_text, ) - self.assertNotIn( - '' - '', - output_text, - ) + self.assertIn( + '', + '', + output_text, + ) self.assertNotIn( '
', output_text, @@ -4802,10 +4802,10 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests): output_text, ) self.assertIn( - '' '', + '', output_text, ) self.assertIn( @@ -4830,10 +4830,10 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests): output_text, ) self.assertIn( - '' '', + '', output_text, ) self.assertIn( @@ -4861,12 +4861,13 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests): output_text, ) self.assertIn( - '' '', + '', output_text, ) + self.assertIn( '', output_text, @@ -4890,10 +4891,10 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests): output_text, ) self.assertIn( - '' '', + '', output_text, ) self.assertIn( diff --git a/tests/test_pagure_flask_ui_issues.py b/tests/test_pagure_flask_ui_issues.py index 2cf1f85..f63b964 100644 --- a/tests/test_pagure_flask_ui_issues.py +++ b/tests/test_pagure_flask_ui_issues.py @@ -842,7 +842,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertIn('title="2 Open Issues | 1 Closed Issues', output_text) self.assertIn( 'bg-success" role="progressbar"\n' - ' style="width:67%"\n', + ' data-width="67%"\n', output_text, ) @@ -858,7 +858,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertIn('title="2 Open Issues | 1 Closed Issues"', output_text) self.assertIn( 'bg-danger" role="progressbar"\n' - ' style="width:33%"\n', + ' data-width="33%"\n', output_text, ) @@ -1344,7 +1344,7 @@ class PagureFlaskIssuestests(tests.Modeltests): output_text, ) self.assertNotIn( - '\n', output_text, ) @@ -1356,7 +1356,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertNotIn("function take_issue(){", output_text) self.assertNotIn("function drop_issue(){", output_text) self.assertNotIn( - '\n', output_text, ) @@ -1508,7 +1508,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertIn("function take_issue(){", output_text) self.assertIn("function drop_issue(){", output_text) self.assertIn( - '\n', output_text, ) @@ -1587,7 +1587,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertIn("function take_issue(){", output_text) self.assertIn("function drop_issue(){", output_text) self.assertIn( - '\n', output_text, ) @@ -1659,7 +1659,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertNotIn("function take_issue(){", output_text) self.assertNotIn("function drop_issue(){", output_text) self.assertNotIn( - '\n', output_text, ) @@ -1702,7 +1702,7 @@ class PagureFlaskIssuestests(tests.Modeltests): self.assertIn("function take_issue(){", output_text) self.assertIn("function drop_issue(){", output_text) self.assertIn( - 'test - Pagure", output_text) self.assertTrue('
' in output_text) self.assertTrue('
' in output_text) - self.assertTrue( - '