Serialize requestcount for ClientConnect objects.

This commit is contained in:
Aldo Cortesi
2012-04-03 22:37:24 +12:00
parent b9737ed89e
commit ab0e10e60f
2 changed files with 11 additions and 5 deletions

View File

@@ -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