Un-break unit tests. Tsk tsk.

This commit is contained in:
Aldo Cortesi 2013-03-17 17:53:39 +13:00
parent e50da8164f
commit d2d3eb6490
2 changed files with 5 additions and 2 deletions

View File

@ -37,6 +37,7 @@ class Options(object):
"setheaders", "setheaders",
"server_replay", "server_replay",
"script", "script",
"showhost",
"stickycookie", "stickycookie",
"stickyauth", "stickyauth",
"verbosity", "verbosity",

View File

@ -12,8 +12,10 @@ def test_strfuncs():
t = tutils.treq() t = tutils.treq()
t.client_conn = None t.client_conn = None
t.stickycookie = True t.stickycookie = True
assert "stickycookie" in dump.str_request(t) assert "stickycookie" in dump.str_request(t, False)
assert "replay" in dump.str_request(t) 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: class TestDumpMaster: