diff --git a/tests/test_pagure_flask_ui_fork.py b/tests/test_pagure_flask_ui_fork.py index 63656ad..4f2f956 100644 --- a/tests/test_pagure_flask_ui_fork.py +++ b/tests/test_pagure_flask_ui_fork.py @@ -196,7 +196,7 @@ class PagureFlaskForktests(tests.Modeltests): 'refs/heads/%s' % branch_from, author, committer, - 'A commit on branch %s' % branch_from, + 'A commit on branch %s\n\nMore information' % branch_from, tree, [first_commit.oid.hex] ) @@ -1103,6 +1103,7 @@ From: Alice Author Subject: A commit on branch feature +More information --- diff --git a/.gitignore b/.gitignore @@ -1221,6 +1222,7 @@ From: Alice Author Subject: A commit on branch feature +More information --- diff --git a/sources b/sources @@ -2021,6 +2023,17 @@ index 0000000..2a552bb self.assertIn( '\n', output_text) + # Check that we prefilled the input fields as expected: + self.assertIn( + '', + output_text) + self.assertIn( + ''' +
''', output_text) csrf_token = self.get_csrf(output=output)