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

Method asyncSetUp

test/asynchronous/test_auth.py:438–442  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

436 @async_client_context.require_auth
437 @async_client_context.require_version_min(3, 7, 2)
438 async def asyncSetUp(self):
439 await super().asyncSetUp()
440 self._SENSITIVE_COMMANDS = monitoring._SENSITIVE_COMMANDS
441 monitoring._SENSITIVE_COMMANDS = set()
442 self.listener = AllowListEventListener("saslStart")
443
444 async def asyncTearDown(self):
445 monitoring._SENSITIVE_COMMANDS = self._SENSITIVE_COMMANDS

Callers 2

asyncSetUpMethod · 0.45
asyncSetUpMethod · 0.45

Calls 1

Tested by

no test coverage detected