addons.intercept: 100% test coverage
This commit is contained in:
parent
77e6dfe35c
commit
9fc6674151
|
@ -36,3 +36,8 @@ def test_simple():
|
|||
f = tflow.tflow(resp=False)
|
||||
tctx.cycle(r, f)
|
||||
assert not f.intercepted
|
||||
|
||||
f = tflow.tflow(resp=True)
|
||||
f.reply._state = "handled"
|
||||
r.response(f)
|
||||
assert f.intercepted
|
Loading…
Reference in New Issue