Kill the mutants of the merged-chunk cleanup
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-03 13:03:37 +01:00
parent 5a31cc9607
commit 0ea7c13673
3 changed files with 25 additions and 2 deletions
+3
View File
@@ -187,6 +187,9 @@ class GateOfAChunk(unittest.TestCase):
for news, forge in cases.items():
with self.subTest(news=news):
self.assertEqual(forge.gate(), Open(news))
long_head = Forge(pulls="")
long_head.answers["git rev-parse"] = "abc" * 13 + "\n"
self.assertEqual(long_head.gate(), Unopened("no pull request from origin's ABC-21 is open at abcabcabcabc; it may be merged or closed already", "/code/billing-ABC-21"))
self.assertEqual(Forge(pulls="").gate(), Unopened("no pull request from origin's ABC-21 is open at abcabcabcabc; it may be merged or closed already", "/code/billing-ABC-21"))
def test_a_read_that_fails_is_a_failure_and_says_nothing_of_the_gate(self):