π The fast, Pythonic way to build MCP servers and clients.
Fix typos and formatting
Jeremiah Lowin6df54c07292a
diff --git a/tests/integration_tests/auth/test_github_provider_integration.py b/tests/integration_tests/auth/test_github_provider_integration.pyindex 7623a7690..8ad84dc65 100644--- a/tests/integration_tests/auth/test_github_provider_integration.py+++ b/tests/integration_tests/auth/test_github_provider_integration.py@@ -360,6 +360,7 @@ async def test_github_oauth_unauthorized_access(github_server: str):async def test_github_oauth_with_mock(github_client_with_mock: Client):"""Test complete GitHub OAuth flow with mocked callback."""+async with github_client_with_mock:# Test that we can ping the server (requires successful OAuth)assert await github_client_with_mock.ping()diff --git a/tests/server/auth/test_oidc_proxy.py b/tests/server/auth/test_oidc_proxy.pyindex 319751bc9..2dd9cac24 100644--- a/tests/server/auth/test_oidc_proxy.py+++ b/tests/server/auth/test_oidc_proxy.py@@ -307,7 +307,7 @@ class TestOIDCConfiguration:with pytest.raises(ValueError, match="Invalid URL for configuration metadata"):OIDCConfiguration.model_validate(valid_oidc_configuration_dict)- def test_explict_strict_with_bad_url_raises_error(+ def test_explicit_strict_with_bad_url_raises_error(self, valid_oidc_configuration_dict):"""Test default configuration with explicit True strict setting and bad URL setting."""@@ -359,7 +359,7 @@ class TestOIDCConfiguration:def validate_get_oidc_configuration(oidc_configuration, strict, timeout_seconds):- """Validate get_oidc_configuation call."""+ """Validate get_oidc_configuration call."""with patch("httpx.get") as mock_get:mock_response = MagicMock(spec=Response)mock_response.json.return_value = oidc_configuration