@@ -75,7 +75,8 @@ async def test_check_run_completed_ci_passed_with_awaiting_merge_label_pr_is_mer
7575
7676 gh = FakeGH (getitem = getitem , getiter = getiter )
7777 await check_run .router .dispatch (event , gh )
78- assert len (gh .post_data ["body" ]) is not None # leaves a comment
78+ # Leave comment temporarily disabled when automerge not used. See #577.
79+ # assert len(gh.post_data["body"]) is not None # leaves a comment
7980 assert gh .put_data ["sha" ] == sha # is merged
8081 assert gh .put_data ["merge_method" ] == "squash"
8182 assert (
@@ -278,7 +279,8 @@ async def test_check_run_completed_failure_with_awaiting_merge_label_pr_is_not_m
278279
279280 gh = FakeGH (getitem = getitem )
280281 await check_run .router .dispatch (event , gh )
281- assert len (gh .post_data ["body" ]) is not None # leaves a comment
282+ # Leave comment temporarily disabled when automerge not used. See #577.
283+ # assert len(gh.post_data["body"]) is not None # leaves a comment
282284 assert not hasattr (gh , "put_data" ) # is not merged
283285
284286
@@ -350,7 +352,8 @@ async def test_check_run_completed_timed_out_with_awaiting_merge_label_pr_is_not
350352
351353 gh = FakeGH (getitem = getitem , getiter = getiter )
352354 await check_run .router .dispatch (event , gh )
353- assert len (gh .post_data ["body" ]) is not None # leaves a comment
355+ # Leave comment temporarily disabled when automerge not used. See #577.
356+ # assert len(gh.post_data["body"]) is not None # leaves a comment
354357 assert not hasattr (gh , "put_data" ) # is not merged
355358
356359
0 commit comments