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

Method fail_point

test/__init__.py:913–918  ·  view source on GitHub ↗
(self, command_args)

Source from the content-addressed store, hash-verified

911
912 @contextmanager
913 def fail_point(self, command_args):
914 self.configure_fail_point(client_context.client, command_args)
915 try:
916 yield
917 finally:
918 self.configure_fail_point(client_context.client, command_args, off=True)
919
920 @contextmanager
921 def fork(

Calls 1

configure_fail_pointMethod · 0.95