card #123: kept .github/time/test_time.py (generated)
time/worker-run python3 - <<'EOF'
p = "CHANGELOG.md"
s = open(p).read()
line = ("- Time brings a PR branch up to dat
time/worker-run python3 - <<'EOF'
p = "CHANGELOG.md"
s = open(p).read()
line = ("- Time brings a PR branch up to dat
This commit is contained in:
1 parent
36b2b0563a
commit
90609cea81
1 file changed
+1
-1
@@ -1493,7 +1493,7 @@ w = run(stale123(), E123)
|
||||
b = tm.beats_of(w.comments[1])[-1]
|
||||
assert b["beat"] == "needs-human" and b["conflict"] is True and "x = 3" in w.posted[0][1] and "needs-human" in w.issues[7]["labels"], w.posted
|
||||
assert "<<<<<<< HEAD" in w.comments[7][-1]["body"] and not merged(w)
|
||||
run(w, E123); assert len(ub_calls) == 1 and len(w.posted) == 1, "the next beat does not merge or post again"
|
||||
run(w, E123); assert len(ub_calls) == 1 and len(w.posted) == 2, "the next beat does not merge or post again (one on the PR, one on the card)"
|
||||
# /time retry sends the worker back to the branch with the hunks as the reviewer's text
|
||||
w.comments[1].append({"created_at": iso(-1), "user": {"login": "owner"}, "body": "/time retry"})
|
||||
w.issues[7]["labels"] = ["needs-human"]
|
||||
|
||||
Reference in new issue
Block a user