@@ -631,12 +631,12 @@ def test_raw_text_fallback_is_printed(self):
631631class TestRenderJobSummary (unittest .TestCase ):
632632 def test_all_pass (self ):
633633 body = main .render_job_summary ([pass_scope ("Branch" )])
634- self .assertTrue (body .startswith (main .SUCCESS_TITLE ))
634+ self .assertTrue (body .startswith (main .REPORT_TITLE ))
635635 self .assertIn ("All checks passed (1 scope)" , body )
636636
637637 def test_failure_renders_table_with_rule_links (self ):
638638 body = main .render_job_summary ([fail_scope ("Commit 1/1" )])
639- self .assertTrue (body .startswith (main .FAILURE_TITLE ))
639+ self .assertTrue (body .startswith (main .REPORT_TITLE ))
640640 self .assertIn ("**1 failure** across 1 scope" , body )
641641 self .assertIn ("| Scope | Failed checks | Result |" , body )
642642 self .assertIn (
@@ -658,25 +658,25 @@ def test_all_pass_matches_job_summary(self):
658658 comment = main .render_pr_comment ([pass_scope ("Branch" )])
659659 summary = main .render_job_summary ([pass_scope ("Branch" )])
660660 self .assertEqual (comment , summary )
661- self .assertTrue (comment .startswith (main .SUCCESS_TITLE ))
661+ self .assertTrue (comment .startswith (main .REPORT_TITLE ))
662662 self .assertIn ("All checks passed (1 scope)" , comment )
663663
664664 def test_failure_matches_job_summary (self ):
665665 comment = main .render_pr_comment ([fail_scope ("Commit 1/1" )])
666666 summary = main .render_job_summary ([fail_scope ("Commit 1/1" )])
667667 self .assertEqual (comment , summary )
668- self .assertTrue (comment .startswith (main .FAILURE_TITLE ))
668+ self .assertTrue (comment .startswith (main .REPORT_TITLE ))
669669 self .assertIn ("**1 failure** across 1 scope" , comment )
670670 self .assertIn ("| Scope | Failed checks | Result |" , comment )
671671
672672
673673class TestBuildResultBody (unittest .TestCase ):
674674 def test_success_body (self ):
675- self .assertEqual (main .build_result_body (None ), main .SUCCESS_TITLE )
675+ self .assertEqual (main .build_result_body (None ), main .REPORT_TITLE )
676676
677677 def test_failure_body (self ):
678678 result = main .build_result_body ("bad commit" )
679- self .assertIn (main .FAILURE_TITLE , result )
679+ self .assertIn (main .REPORT_TITLE , result )
680680 self .assertIn ("bad commit" , result )
681681
682682
@@ -800,7 +800,7 @@ def test_creates_comment_with_rendered_body(self):
800800 self .assertEqual (rc , 1 )
801801 self .assertEqual (mock_pull_request .create_comment .call_count , 1 )
802802 body = mock_pull_request .create_comment .call_args [1 ]["body" ]
803- self .assertTrue (body .startswith (main .FAILURE_TITLE ))
803+ self .assertTrue (body .startswith (main .REPORT_TITLE ))
804804 self .assertIn ("| Scope | Failed checks | Result |" , body )
805805
806806 def test_updates_existing_comment_when_changed (self ):
0 commit comments