aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test_context.py')
-rw-r--r--examples/test_context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test_context.py b/examples/test_context.py
index 7c0386c1..1f0a7f8b 100644
--- a/examples/test_context.py
+++ b/examples/test_context.py
@@ -16,7 +16,7 @@ def test_simple():
# Check the returned data
assert r.status_code == 200
- assert len(r.content) == 100
+ assert len(r.body) == 100
# Check pathod's internal log
log = d.last_log()["request"]