MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / get_mock_overload_error

Function get_mock_overload_error

test/test_client_backpressure.py:52–55  ·  view source on GitHub ↗
(times: int)

Source from the content-addressed store, hash-verified

50
51
52def get_mock_overload_error(times: int):
53 error = mock_overload_error.copy()
54 error["mode"] = {"times": times}
55 return error
56
57
58class TestBackpressure(IntegrationTest):

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected