test_proxy_environment_variables() — anthropic-sdk-python Function Reference
Architecture documentation for the test_proxy_environment_variables() function in test_client.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD cbcee2fc_fa57_2819_d826_9359190816b6["test_proxy_environment_variables()"] d53b6c34_1743_a045_4be1_3554ab153964["TestAnthropic"] cbcee2fc_fa57_2819_d826_9359190816b6 -->|defined in| d53b6c34_1743_a045_4be1_3554ab153964 34d44099_da67_14d8_73fd_5aa080864c3f["test_proxy_environment_variables()"] 34d44099_da67_14d8_73fd_5aa080864c3f -->|calls| cbcee2fc_fa57_2819_d826_9359190816b6 34d44099_da67_14d8_73fd_5aa080864c3f["test_proxy_environment_variables()"] cbcee2fc_fa57_2819_d826_9359190816b6 -->|calls| 34d44099_da67_14d8_73fd_5aa080864c3f style cbcee2fc_fa57_2819_d826_9359190816b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_client.py lines 1045–1053
def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None:
# Test that the proxy environment variables are set correctly
monkeypatch.setenv("HTTPS_PROXY", "https://example.org")
client = DefaultHttpxClient()
mounts = tuple(client._mounts.items())
assert len(mounts) == 1
assert mounts[0][0].pattern == "https://"
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does test_proxy_environment_variables() do?
test_proxy_environment_variables() is a function in the anthropic-sdk-python codebase, defined in tests/test_client.py.
Where is test_proxy_environment_variables() defined?
test_proxy_environment_variables() is defined in tests/test_client.py at line 1045.
What does test_proxy_environment_variables() call?
test_proxy_environment_variables() calls 1 function(s): test_proxy_environment_variables.
What calls test_proxy_environment_variables()?
test_proxy_environment_variables() is called by 1 function(s): test_proxy_environment_variables.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free