From d2d3eb6490a6b342f8d205e26d04c913b8e2a5f7 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 17 Mar 2013 17:53:39 +1300 Subject: [PATCH] Un-break unit tests. Tsk tsk. --- libmproxy/dump.py | 1 + test/test_dump.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 2e0e62d95..b1022ef52 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -37,6 +37,7 @@ class Options(object): "setheaders", "server_replay", "script", + "showhost", "stickycookie", "stickyauth", "verbosity", diff --git a/test/test_dump.py b/test/test_dump.py index 7992f78ee..94d0b195f 100644 --- a/test/test_dump.py +++ b/test/test_dump.py @@ -12,8 +12,10 @@ def test_strfuncs(): t = tutils.treq() t.client_conn = None t.stickycookie = True - assert "stickycookie" in dump.str_request(t) - assert "replay" in dump.str_request(t) + assert "stickycookie" in dump.str_request(t, False) + assert "stickycookie" in dump.str_request(t, True) + assert "replay" in dump.str_request(t, False) + assert "replay" in dump.str_request(t, True) class TestDumpMaster: