Skip to content

Commit 0674e36

Browse files
committed
fix(django): Old django behaves differently
1 parent e20aee3 commit 0674e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/django/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_custom_error_handler_request_context(sentry_init, client, capture_event
105105
sentry_init(integrations=[DjangoIntegration()])
106106
events = capture_events()
107107
content, status, headers = client.post("/404")
108-
assert status == "404 Not Found"
108+
assert status.lower() == "404 not found"
109109

110110
event, = events
111111

0 commit comments

Comments
 (0)