aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/test_controller.py')
-rw-r--r--test/mitmproxy/test_controller.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/test_controller.py b/test/mitmproxy/test_controller.py
index ccc8bf35..2e13d298 100644
--- a/test/mitmproxy/test_controller.py
+++ b/test/mitmproxy/test_controller.py
@@ -176,6 +176,8 @@ class TestDummyReply:
reply = controller.DummyReply()
reply.ack()
reply.take()
+ with pytest.raises(ControlException):
+ reply.mark_reset()
reply.commit()
reply.mark_reset()
assert reply.state == "committed"