(self)
| 1019 | self.assertEqual(client_two, client) |
| 1020 | |
| 1021 | async def test_repr_srv_host(self): |
| 1022 | client = AsyncMongoClient("mongodb+srv://test1.test.build.10gen.cc/", connect=False) |
| 1023 | # before srv resolution |
| 1024 | self.assertIn("host='mongodb+srv://test1.test.build.10gen.cc'", repr(client)) |
| 1025 | await client.aconnect() |
| 1026 | # after srv resolution |
| 1027 | self.assertIn("host=['localhost.test.build.10gen.cc:", repr(client)) |
| 1028 | await client.close() |
| 1029 | |
| 1030 | async def test_getters(self): |
| 1031 | await async_wait_until( |
nothing calls this directly
no test coverage detected