Un-break unit tests. Tsk tsk.
This commit is contained in:
parent
e50da8164f
commit
d2d3eb6490
|
@ -37,6 +37,7 @@ class Options(object):
|
||||||
"setheaders",
|
"setheaders",
|
||||||
"server_replay",
|
"server_replay",
|
||||||
"script",
|
"script",
|
||||||
|
"showhost",
|
||||||
"stickycookie",
|
"stickycookie",
|
||||||
"stickyauth",
|
"stickyauth",
|
||||||
"verbosity",
|
"verbosity",
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue