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

Method patch_system_certs

test/__init__.py:1179–1181  ·  view source on GitHub ↗
(self, ca_certs)

Source from the content-addressed store, hash-verified

1177 c.drop_indexes()
1178
1179 def patch_system_certs(self, ca_certs):
1180 patcher = SystemCertsPatcher(ca_certs)
1181 self.addCleanup(patcher.disable)
1182
1183
1184class MockClientTest(UnitTest):

Callers 2

setUpMethod · 0.45

Calls 2

SystemCertsPatcherClass · 0.90
addCleanupMethod · 0.80

Tested by 2

setUpMethod · 0.36