diff --git a/tests/test_pagure_flask_ui_fork.py b/tests/test_pagure_flask_ui_fork.py index 63861b1..8aff525 100644 --- a/tests/test_pagure_flask_ui_fork.py +++ b/tests/test_pagure_flask_ui_fork.py @@ -1452,6 +1452,58 @@ index 0000000..2a552bb self.assertNotIn('
Test Initial Comment
', output.data) + + # Check if commit start and stop have been set for PR#2 + request = pagure.lib.search_pull_requests( + self.session, project_id=1, requestid=2) + self.assertIsNotNone(request.commit_start) + self.assertIsNotNone(request.commit_stop) + + @patch('pagure.lib.notify.send_email') def test_new_request_pull_empty_repo(self, send_email): """ Test the new_request_pull endpoint against an empty repo. """ send_email.return_value = True