We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dcf76d commit 64a6dadCopy full SHA for 64a6dad
tests/pyop/test_provider.py
@@ -122,13 +122,6 @@ def test_reject_request_with_scope_without_openid(self):
122
self.provider.parse_authentication_request(urlencode(self.authn_request_args))
123
assert isinstance(exc.value.__cause__, MissingRequiredValue)
124
125
- def test_reject_request_with_unknown_scope(self):
126
- self.authn_request_args['scope'] = 'openid unknown'
127
-
128
- with pytest.raises(InvalidAuthenticationRequest) as exc:
129
- self.provider.parse_authentication_request(urlencode(self.authn_request_args))
130
- assert exc.value.oauth_error == 'invalid_scope'
131
132
def test_custom_validation_hook_reject(self):
133
class TestException(Exception):
134
pass
0 commit comments