Skip to content

Commit cea7463

Browse files
committed
test: clarify OAuth resource refresh coverage
1 parent 03bcc2e commit cea7463

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/client/test_auth.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,10 @@ class TestProtectedResourceMetadata:
762762
"""Test protected resource handling."""
763763

764764
@pytest.mark.anyio
765-
async def test_resource_param_included_with_recent_protocol_version(self, oauth_provider: OAuthClientProvider):
766-
"""Test resource parameter is included for protocol version >= 2025-06-18."""
765+
async def test_resource_param_included_in_auth_code_exchange_but_not_refresh_with_recent_protocol_version(
766+
self, oauth_provider: OAuthClientProvider
767+
):
768+
"""Resource parameter is included for auth code exchange, not refresh."""
767769
# Set protocol version to 2025-06-18
768770
oauth_provider.context.protocol_version = "2025-06-18"
769771
oauth_provider.context.client_info = OAuthClientInformationFull(

0 commit comments

Comments
 (0)