(self)
| 140 | self.assertEqual(db.test.mike, db["test.mike"]) |
| 141 | |
| 142 | def test_repr(self): |
| 143 | name = "AsyncDatabase" |
| 144 | self.assertEqual( |
| 145 | repr(AsyncDatabase(self.client, "pymongo_test")), |
| 146 | "{}({!r}, {})".format(name, self.client, repr("pymongo_test")), |
| 147 | ) |
| 148 | |
| 149 | async def test_create_collection(self): |
| 150 | db = AsyncDatabase(self.client, "pymongo_test") |
nothing calls this directly
no test coverage detected