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

Method test_getters

test/asynchronous/test_client.py:1030–1033  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1028 await client.close()
1029
1030 async def test_getters(self):
1031 await async_wait_until(
1032 lambda: async_client_context.nodes == self.client.nodes, "find all nodes"
1033 )
1034
1035 async def test_list_databases(self):
1036 cmd_docs = (await self.client.admin.command("listDatabases"))["databases"]

Callers

nothing calls this directly

Calls 1

async_wait_untilFunction · 0.90

Tested by

no test coverage detected