test(8141): the rewrite test counts reply requests, not the gate report beside them
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 2m13s
CI & Build / integration (push) Successful in 2m29s
CI & Build / Build & push image (push) Successful in 32s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 2m13s
CI & Build / integration (push) Successful in 2m29s
CI & Build / Build & push image (push) Successful in 32s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -364,7 +364,10 @@ def test_a_rule_hold_on_a_closing_turn_does_not_mark_a_rewrite(tmp_path):
|
|||||||
with http_sink(by_path={"/api/plugin/reply-rules": HELD}) as (port, seen):
|
with http_sink(by_path={"/api/plugin/reply-rules": HELD}) as (port, seen):
|
||||||
_run(tmp_path, port, t)
|
_run(tmp_path, port, t)
|
||||||
assert _run(tmp_path, port, t, active=True) == ""
|
assert _run(tmp_path, port, t, active=True) == ""
|
||||||
assert len(seen) == 1
|
# One reply sent; the rewrite after a rule hold sends nothing. (The hold
|
||||||
|
# itself is also reported as a gate stop, a separate request.)
|
||||||
|
assert [e["_path"] for e in seen if e["_path"] == "/api/plugin/reply-rules"] == [
|
||||||
|
"/api/plugin/reply-rules"]
|
||||||
|
|
||||||
|
|
||||||
def test_the_hook_says_nothing_when_nothing_holds(tmp_path):
|
def test_the_hook_says_nothing_when_nothing_holds(tmp_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user