Skip to content

Commit 2b34dd1

Browse files
committed
fixed failing test
1 parent 115f178 commit 2b34dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_async_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class MockUser(str):
5757

5858
BODY_UNAUTHORIZED_DEFAULT = dict(detail="Unauthorized")
5959

60-
if django.VERSION < (3, 1):
60+
if not django.VERSION < (3, 1):
6161
api = NinjaExtraAPI(csrf=True, urls_namespace="async_auth")
6262

6363
for path, auth in [

0 commit comments

Comments
 (0)