MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / set_fail_point

Method set_fail_point

test/test_connection_monitoring.py:212–215  ·  view source on GitHub ↗
(self, command_args)

Source from the content-addressed store, hash-verified

210 self.assertIn(message, str(actual))
211
212 def set_fail_point(self, command_args):
213 if not client_context.supports_failCommand_fail_point:
214 self.skipTest("failCommand fail point must be supported")
215 self.configure_fail_point(self.client, command_args)
216
217 def run_scenario(self, scenario_def, test):
218 """Run a CMAP spec test."""

Callers 1

run_scenarioMethod · 0.95

Calls 1

configure_fail_pointMethod · 0.45

Tested by

no test coverage detected