Move scope step-up test to top-level function (#2932)
This commit is contained in:
parent
1331131650
commit
3169922492
1 changed files with 56 additions and 55 deletions
|
|
@ -1447,9 +1447,10 @@ class TestAuthFlow:
|
||||||
except StopAsyncIteration:
|
except StopAsyncIteration:
|
||||||
pass # Expected
|
pass # Expected
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.anyio
|
@pytest.mark.anyio
|
||||||
async def test_403_step_up_preserves_scope_from_stored_token(
|
async def test_403_step_up_preserves_scope_from_stored_token(
|
||||||
self, oauth_provider: OAuthClientProvider, mock_storage: MockTokenStorage
|
oauth_provider: OAuthClientProvider, mock_storage: MockTokenStorage
|
||||||
):
|
):
|
||||||
"""SEP-2350: a restart-loaded token's scope is folded into the step-up union.
|
"""SEP-2350: a restart-loaded token's scope is folded into the step-up union.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue