Answer principles round 4: 0 🔴, 0 🟡 (0 misread); approved with one nit: the review refusal's test checks the facts the message carries, not its whole sentence
CI / tests (pull_request) Successful in 4m28s
CI / tests (pull_request) Successful in 4m28s
This commit is contained in:
@@ -504,7 +504,9 @@ class Cut(unittest.TestCase):
|
||||
self.git(self.clone, "push", "-q", "origin", "main")
|
||||
ran = self.cut()
|
||||
self.assertEqual(ran.returncode, 1)
|
||||
self.assertIn("deploy-release: the release review of 0.3.0 hasn't landed: origin/main holds no commit titled `Release review of 0.3.0` after the newest tag. `chunk-preflight --help` says which commit counts.\n", ran.stderr)
|
||||
self.assertIn("the release review of 0.3.0 hasn't landed", ran.stderr)
|
||||
self.assertIn("`Release review of 0.3.0`", ran.stderr)
|
||||
self.assertIn("`chunk-preflight --help`", ran.stderr)
|
||||
|
||||
def test_a_cut_stopped_by_ctrl_c_ends_its_trace_saying_so(self):
|
||||
self.set_checks("pending")
|
||||
|
||||
Reference in New Issue
Block a user