Skip to content

Commit

Permalink
Un-break unit tests. Tsk tsk.
Browse files Browse the repository at this point in the history
  • Loading branch information
cortesi committed Mar 17, 2013
1 parent e50da81 commit d2d3eb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions libmproxy/dump.py
Expand Up @@ -37,6 +37,7 @@ class Options(object):
"setheaders",
"server_replay",
"script",
"showhost",
"stickycookie",
"stickyauth",
"verbosity",
Expand Down
6 changes: 4 additions & 2 deletions test/test_dump.py
Expand Up @@ -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:
Expand Down

0 comments on commit d2d3eb6

Please sign in to comment.