Skip to content

Commit 64a6dad

Browse files
author
Ioannis Kakavas
committed
Remove invalid test case
1 parent 5dcf76d commit 64a6dad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/pyop/test_provider.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,6 @@ def test_reject_request_with_scope_without_openid(self):
122122
self.provider.parse_authentication_request(urlencode(self.authn_request_args))
123123
assert isinstance(exc.value.__cause__, MissingRequiredValue)
124124

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-
132125
def test_custom_validation_hook_reject(self):
133126
class TestException(Exception):
134127
pass

0 commit comments

Comments
 (0)