diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/contentviews/test_api.py | 2 | ||||
-rw-r--r-- | test/mitmproxy/test_examples.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/contentviews/test_api.py b/test/mitmproxy/contentviews/test_api.py index 37bdd40f..8e6c3427 100644 --- a/test/mitmproxy/contentviews/test_api.py +++ b/test/mitmproxy/contentviews/test_api.py @@ -82,4 +82,4 @@ def test_get_message_content_view(): def test_get_by_shortcut(): - assert contentviews.get_by_shortcut("h") + assert contentviews.get_by_shortcut("s") diff --git a/test/mitmproxy/test_examples.py b/test/mitmproxy/test_examples.py index 94637350..8db2507f 100644 --- a/test/mitmproxy/test_examples.py +++ b/test/mitmproxy/test_examples.py @@ -56,7 +56,7 @@ class TestScripts(mastertest.MasterTest): tscript("simple/modify_body_inject_iframe.py") m, sc = tscript("simple/modify_body_inject_iframe.py", "http://example.org/evil_iframe") - f = tflow.tflow(resp=tutils.tresp(content=b"<html>mitmproxy</html>")) + f = tflow.tflow(resp=tutils.tresp(content=b"<html><body>mitmproxy</body></html>")) m.response(f) content = f.response.content assert b'iframe' in content and b'evil_iframe' in content |