BOM-1750
DeprecationWarning `callable is None` raised since 3.5 throwing TypeError. Fixed the assertion.
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user