mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
fix console test
This commit is contained in:
parent
2606de25e4
commit
3ae060f0d3
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user