Skip to content

Commit 3017715

Browse files
author
Massimiliano Pippi
committed
increase test coverage for backends
1 parent ea4c20c commit 3017715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth2_provider/tests/test_auth_backends.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_authenticate_fail(self):
6767
def test_get_user(self):
6868
backend = OAuth2Backend()
6969
self.assertEqual(self.user, backend.get_user(self.user.pk))
70+
self.assertIsNone(backend.get_user(123456))
7071

7172

7273
@override_settings(

0 commit comments

Comments
 (0)