diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-04-03 22:37:24 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-04-03 22:37:24 +1200 |
commit | ab0e10e60f9d481ac0aa782c69bd02de9b7fbf0d (patch) | |
tree | 949b4353cc4b5b325ff07cb34d42a22db80ddafa /test/test_flow.py | |
parent | b9737ed89e32fd0f4d5ec842c64e2a1ccc5a9274 (diff) | |
download | mitmproxy-ab0e10e60f9d481ac0aa782c69bd02de9b7fbf0d.tar.gz mitmproxy-ab0e10e60f9d481ac0aa782c69bd02de9b7fbf0d.tar.bz2 mitmproxy-ab0e10e60f9d481ac0aa782c69bd02de9b7fbf0d.zip |
Serialize requestcount for ClientConnect objects.
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 60a4fc04..a7ab7cc2 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -923,8 +923,9 @@ class uClientConnect(libpry.AutoTree): c2 = flow.ClientConnect(("a", 25)) assert not c == c2 + c2.requestcount = 99 c._load_state(c2._get_state()) - assert c == c2 + assert c.requestcount == 99 c3 = c.copy() assert c3 == c |