MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / proxy_server

Function proxy_server

tests/stream/test_proxy_server_edge_cases.py:28–33  ·  view source on GitHub ↗
(mock_deps)

Source from the content-addressed store, hash-verified

26
27@pytest.fixture
28def proxy_server(mock_deps):
29 with patch("logging.getLogger"):
30 server = ProxyServer(
31 host="127.0.0.1", port=8080, intercept_domains=["example.com"]
32 )
33 return server
34
35
36@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

ProxyServerClass · 0.90

Tested by

no test coverage detected