aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_flow.py')
-rw-r--r--test/test_flow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index f73187c1..b54b7508 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -678,11 +678,11 @@ class TestSerialize:
w = flow.FilteredFlowWriter(sio, fl)
f = tutils.tflow(resp=True)
- f.response.code = 200
+ f.response.status_code = 200
w.add(f)
f = tutils.tflow(resp=True)
- f.response.code = 201
+ f.response.status_code = 201
w.add(f)
sio.seek(0)