(self)
| 940 | self.assertNotIn(c, {client_context.client}) |
| 941 | |
| 942 | def test_host_w_port(self): |
| 943 | with self.assertRaises(ValueError): |
| 944 | host = client_context.host |
| 945 | connected( |
| 946 | MongoClient( |
| 947 | f"{host}:1234567", |
| 948 | connectTimeoutMS=1, |
| 949 | serverSelectionTimeoutMS=10, |
| 950 | ) |
| 951 | ) |
| 952 | |
| 953 | def test_repr(self): |
| 954 | # Used to test 'eval' below. |
nothing calls this directly
no test coverage detected