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

Method test_hashable

test/asynchronous/test_database.py:132–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 self.assertFalse(AsyncDatabase(self.client, "test") != AsyncDatabase(self.client, "test"))
131
132 def test_hashable(self):
133 self.assertIn(self.client.test, {AsyncDatabase(self.client, "test")})
134
135 def test_get_coll(self):
136 db = AsyncDatabase(self.client, "pymongo_test")

Callers

nothing calls this directly

Calls 1

AsyncDatabaseClass · 0.90

Tested by

no test coverage detected