(self)
| 86 | Monitor.__init__(self, server_description, topology, pool, topology_settings) |
| 87 | |
| 88 | def _check_once(self): |
| 89 | client = self.client |
| 90 | address = self._server_description.address |
| 91 | response, rtt = client.mock_hello("%s:%d" % address) # type: ignore[str-format] |
| 92 | return ServerDescription(address, Hello(response), rtt) |
| 93 | |
| 94 | |
| 95 | class MockClient(MongoClient): |
nothing calls this directly
no test coverage detected