Fixed simplejwt version to 4.4 which looks compatible with py 3.6

This commit is contained in:
Antoine Nguyen
2021-06-03 10:26:52 +02:00
parent ec737efc26
commit daed705f74
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class AccountViewSetTestCase(ModoAPITestCase):
resp = self.client.get(url)
self.assertEqual(resp.status_code, 200)
me = resp.json()
self.assertEqual(me["pk"], 1)
self.assertEqual(me["username"], "admin")
@mock.patch("django_otp.match_token")
def test_tfa_verify_code(self, match_mock):
+1 -1
View File
@@ -12,7 +12,7 @@ dj-database-url
djangorestframework>=3.11,<3.13
drf-spectacular
uritemplate
djangorestframework-simplejwt
djangorestframework-simplejwt==4.4
drf-flex-fields
passlib~=1.7.4