diff options
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index b7a368d2..6ee4235e 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -385,6 +385,7 @@ class uSerialize(libpry.AutoTree): def test_roundtrip(self): sio = StringIO() f = tutils.tflow() + f.request.content = "".join(chr(i) for i in range(255)) w = flow.FlowWriter(sio) w.add(f) @@ -392,7 +393,10 @@ class uSerialize(libpry.AutoTree): r = flow.FlowReader(sio) l = list(r.stream()) assert len(l) == 1 - assert l[0] == f + + f2 = l[0] + assert f2 == f + assert f2.request.assemble() == f.request.assemble() def test_load_flows(self): r = self._treader() |