aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-04-04 14:46:29 +1200
committerAldo Cortesi <aldo@corte.si>2018-04-07 09:02:10 +1200
commit6a08ef465f3af6cb2044baf98279de1071538f5a (patch)
tree183c5821a7a5d4debd8bd779c5596c280c48cabc /test
parentea213782d8adaa21aa99f2de818172ee872cf3e9 (diff)
downloadmitmproxy-6a08ef465f3af6cb2044baf98279de1071538f5a.tar.gz
mitmproxy-6a08ef465f3af6cb2044baf98279de1071538f5a.tar.bz2
mitmproxy-6a08ef465f3af6cb2044baf98279de1071538f5a.zip
asyncio: remove master.add_log, in favor of a persistent log.Log instance
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/tools/web/test_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/tools/web/test_app.py b/test/mitmproxy/tools/web/test_app.py
index 994690ea..00188895 100644
--- a/test/mitmproxy/tools/web/test_app.py
+++ b/test/mitmproxy/tools/web/test_app.py
@@ -45,7 +45,7 @@ class TestApp(tornado.testing.AsyncHTTPTestCase):
f.id = "42"
m.view.add([f])
m.view.add([tflow.tflow(err=True)])
- m.add_log("test log", "info")
+ m.log.info("test log")
self.master = m
self.view = m.view
self.events = m.events