From d9c6be3d131fa01f70779307b688560f1ace0751 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 19 Feb 2011 17:03:44 +1300 Subject: Fix serialization when a Request has no associated client connection. --- test/test_proxy.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_proxy.py') diff --git a/test/test_proxy.py b/test/test_proxy.py index ba9d9bfa..cb2528fd 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -230,6 +230,10 @@ class uRequest(libpry.AutoTree): state = r.get_state() assert proxy.Request.from_state(state) == r + r.client_conn = None + state = r.get_state() + assert proxy.Request.from_state(state) == r + class uResponse(libpry.AutoTree): def test_simple(self): -- cgit v1.2.3