mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
fix console test
This commit is contained in:
@@ -40,7 +40,7 @@ class TestMaster(mastertest.MasterTest):
|
||||
m = self.mkmaster()
|
||||
f = tflow.tflow(resp=True)
|
||||
m.run_script_once("nonexistent", [f])
|
||||
assert "Input error" in str(m.logbuffer[0])
|
||||
assert any("Input error" in str(l) for l in m.logbuffer)
|
||||
|
||||
def test_intercept(self):
|
||||
"""regression test for https://github.com/mitmproxy/mitmproxy/issues/1605"""
|
||||
|
||||
Reference in New Issue
Block a user