Test who merges at each default, a failed ready mark, the worker's sentence and an unreadable config
CI / tests (pull_request) Failing after 4m43s

This commit is contained in:
Lilleman
2026-11-19 16:29:31 +01:00
parent 144986e671
commit 84a0f1d1be
3 changed files with 23 additions and 1 deletions
+1
View File
@@ -78,6 +78,7 @@ class GateOfAChunk(unittest.TestCase):
with self.subTest(forge.answers["git remote"]):
self.assertEqual(forge.gate(by_human=True), Gate("/code/billing-ABC-21", "7", MERGE))
self.assertEqual(MERGE, "your merge")
self.assertEqual(gate("ABC-21", "/code/billing", Forge(decision="APPROVED").at), Open("pull request #7 passed its checks and is approved"))
def test_where_a_person_merges_every_other_gate_and_all_news_stay_as_they_are(self):
same = (Forge(), Forge(buckets=("pending",)), Forge(draft=True), Forge(decision="CHANGES_REQUESTED"), Forge(threads=(thread(False, "reviewer"),)), Forge(buckets=("fail",)), Forge(pulls=""))