MCPcopy Create free account
hub / github.com/braincrew-lab/langconnect-client / DummyAsyncClient

Class DummyAsyncClient

tests/conftest.py:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class DummyAsyncClient:
48 def __init__(self, response_data):
49 self._response = DummyResponse(response_data)
50
51 async def __aenter__(self):
52 return self
53
54 async def __aexit__(self, exc_type, exc, tb):
55 return False
56
57 async def post(self, *args, **kwargs):
58 return self._response
59
60
61@pytest.fixture

Callers 3

_setterFunction · 0.85

Calls

no outgoing calls

Tested by 3

_setterFunction · 0.68