(self)
| 965 | self.assertNotIn(c, {async_client_context.client}) |
| 966 | |
| 967 | async def test_host_w_port(self): |
| 968 | with self.assertRaises(ValueError): |
| 969 | host = await async_client_context.host |
| 970 | await connected( |
| 971 | AsyncMongoClient( |
| 972 | f"{host}:1234567", |
| 973 | connectTimeoutMS=1, |
| 974 | serverSelectionTimeoutMS=10, |
| 975 | ) |
| 976 | ) |
| 977 | |
| 978 | async def test_repr(self): |
| 979 | # Used to test 'eval' below. |
nothing calls this directly
no test coverage detected