Gate stops are recorded: every time a rule, the checkpoint, the fence or the reply hold stops work #235
@@ -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):
|
||||
_run(tmp_path, port, t)
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user