Skip to content

Commit 34e290e

Browse files
committed
Fix ref for unknown status attr, use status_code instead
1 parent 62a0478 commit 34e290e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_flask/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def pytest_assertrepr_compare(
6060
left.status_code,
6161
right,
6262
),
63-
f"Response status: {left.status}",
63+
f"Response status: {left.status_code}",
6464
]
6565
return None
6666

0 commit comments

Comments
 (0)