DeprecationWarning `callable is None` raised  since 3.5 throwing TypeError.
Fixed the assertion.
This commit is contained in:
Awais Qureshi
2020-06-24 01:15:56 +05:00
parent aa3ae13ad8
commit b4035bc71e

View File

@@ -47,7 +47,7 @@ class IdentityServer3Test(testutil.TestCase):
test that a KeyError is thrown if the "sub" claim does not exist
"""
response = {"id": 1}
self.assertRaises(KeyError, self.id3_instance.get_user_id({}, response))
self.assertRaises(TypeError, self.id3_instance.get_user_id({}, response))
def test_proper_config_access(self):
"""