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

Method test_client

test/test_session.py:350–358  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

348 self.assertEqual(len(listener.started_events), 0)
349
350 def test_client(self):
351 client = self.client
352 ops: list = [
353 (client.server_info, [], {}),
354 (client.list_database_names, [], {}),
355 (client.drop_database, ["pymongo_test"], {}),
356 ]
357
358 self._test_ops(client, *ops)
359
360 def test_database(self):
361 client = self.client

Callers

nothing calls this directly

Calls 1

_test_opsMethod · 0.95

Tested by

no test coverage detected