diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-05 11:52:56 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-05 11:52:56 +1200 |
commit | aa708a2d28439af742b4257bf14a8131a04f5dc3 (patch) | |
tree | c0a09e858083b6f6473f8eefe5da68a9948ddd45 /test | |
parent | 4acc9aca273aad2e804126cc1e6c602c13f5c976 (diff) | |
download | mitmproxy-aa708a2d28439af742b4257bf14a8131a04f5dc3.tar.gz mitmproxy-aa708a2d28439af742b4257bf14a8131a04f5dc3.tar.bz2 mitmproxy-aa708a2d28439af742b4257bf14a8131a04f5dc3.zip |
Fix error when serializing reverted SSL flows.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_flow.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 1394a668..1dd44dd2 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -192,6 +192,13 @@ class TestFlow: f.revert() assert f.request.content == "foo" + def test_backup_idempotence(self): + f = tutils.tflow_full() + f.backup() + f.revert() + f.backup() + f.revert() + def test_getset_state(self): f = tutils.tflow() f.response = tutils.tresp(f.request) |