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

Function create_tests

test/mockupdb/test_op_msg.py:322–325  ·  view source on GitHub ↗
(ops)

Source from the content-addressed store, hash-verified

320
321
322def create_tests(ops):
323 for op in ops:
324 test_name = f"test_op_msg_{op.name}"
325 setattr(TestOpMsg, test_name, operation_test(op))
326
327
328create_tests(operations)

Callers 1

test_op_msg.pyFile · 0.70

Calls 1

operation_testFunction · 0.85

Tested by

no test coverage detected