Kill the mutants that survived the stability round's fixes
CI / tests (pull_request) Successful in 3m27s

This commit is contained in:
Lilleman
2026-11-20 22:00:40 +01:00
parent d464f271bf
commit e820a0c87c
3 changed files with 8 additions and 6 deletions
+1
View File
@@ -109,6 +109,7 @@ class OtherBase(unittest.TestCase):
self.assertEqual(other_base("gh", "7", "main", lambda command: LONG).reason, f"gh pr view printed no base branch: {LONG[:200]}")
self.assertEqual(other_base("gh", "7", "main", lambda command: "not json").reason, "gh pr view printed no base branch: not json")
self.assertEqual(other_base("gh", "7", "main", lambda command: '{"baseRefName": ""}').reason, 'gh pr view printed no base branch: {"baseRefName": ""}')
self.assertEqual(other_base("tea", "7", "main", lambda command: '{"base": {"ref": 7}}').reason, "tea api answered pull request 7 in a shape that can't be read: {'base': {'ref': 7}}")
self.assertEqual(other_base("tea", "7", "main", lambda command: LONG).reason, f"tea api answered pull request 7 in a shape that can't be read: {LONG[:200]}")
self.assertEqual(other_base("tea", "7", "main", lambda command: '{"number": 7, "base": {}}').reason, "tea api answered pull request 7 in a shape that can't be read: {'number': 7, 'base': {}}")
self.assertEqual(other_base("tea", "7", "main", lambda command: '{"number": 7, "base": {"ref": null}}').reason, "tea api answered pull request 7 in a shape that can't be read: {'number': 7, 'base': {'ref': None}}")