Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ simple_test_client
Function
simple_test_client
test/__init__.py:1231–1234 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1229
1230
@contextmanager
1231
def
simple_test_client():
1232
client_context.init()
1233
yield
client_context.client
1234
client_context.client.close()
1235
1236
1237
def
test_cases(suite):
Callers
nothing calls this directly
Calls
2
init
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected