diff options
Diffstat (limited to 'test/mitmproxy/console/test_master.py')
-rw-r--r-- | test/mitmproxy/console/test_master.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/console/test_master.py b/test/mitmproxy/console/test_master.py index 82cc6f9d..8195b1d1 100644 --- a/test/mitmproxy/console/test_master.py +++ b/test/mitmproxy/console/test_master.py @@ -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""" |