From 156a1e0df1373c7f911e41ed3cd50c0a29f4c858 Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Mon, 20 Nov 2023 11:00:48 +0100 Subject: [PATCH] Set JWTTokenUserAuthentication to None when missing --- tests/contrib/test_simplejwt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/contrib/test_simplejwt.py b/tests/contrib/test_simplejwt.py index 1c3ea864..bb7b8ad2 100644 --- a/tests/contrib/test_simplejwt.py +++ b/tests/contrib/test_simplejwt.py @@ -15,6 +15,7 @@ ) except ImportError: JWTAuthentication = None + JWTTokenUserAuthentication = None class XSerializer(serializers.Serializer):