diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-04-04 14:46:29 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-04-07 09:02:10 +1200 |
commit | 6a08ef465f3af6cb2044baf98279de1071538f5a (patch) | |
tree | 183c5821a7a5d4debd8bd779c5596c280c48cabc /test | |
parent | ea213782d8adaa21aa99f2de818172ee872cf3e9 (diff) | |
download | mitmproxy-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.py | 2 |
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 |