aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-02 11:31:28 +1200
committerAldo Cortesi <aldo@corte.si>2018-05-02 11:31:28 +1200
commit38ff8109fb814d96c271e27caa65b0c98a169ee2 (patch)
treed84504e20493e5bb18db62ba10643fecd1dbbf60 /test
parent22a4b1d5d4f315ed013332e4219f105e6d928615 (diff)
downloadmitmproxy-38ff8109fb814d96c271e27caa65b0c98a169ee2.tar.gz
mitmproxy-38ff8109fb814d96c271e27caa65b0c98a169ee2.tar.bz2
mitmproxy-38ff8109fb814d96c271e27caa65b0c98a169ee2.zip
taddons: remove has_event
We no longer use this anywhere, so ditch it.
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_taddons.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/mitmproxy/test_taddons.py b/test/mitmproxy/test_taddons.py
index 5266e038..53091bc1 100644
--- a/test/mitmproxy/test_taddons.py
+++ b/test/mitmproxy/test_taddons.py
@@ -10,7 +10,6 @@ from mitmproxy import ctx
async def test_recordingmaster():
with taddons.context() as tctx:
assert not tctx.master.has_log("nonexistent")
- assert not tctx.master.has_event("nonexistent")
ctx.log.error("foo")
assert not tctx.master.has_log("foo", level="debug")
assert await tctx.master.await_log("foo", level="error")