(self)
| 3571 | MONGOCRYPTD_PORT = 27020 |
| 3572 | |
| 3573 | def setUp(self) -> None: |
| 3574 | super().setUp() |
| 3575 | start_mongocryptd(self.MONGOCRYPTD_PORT) |
| 3576 | |
| 3577 | self.listener = OvertCommandListener() |
| 3578 | self.mongocryptd_client = self.simple_client( |
| 3579 | f"mongodb://localhost:{self.MONGOCRYPTD_PORT}", event_listeners=[self.listener] |
| 3580 | ) |
| 3581 | |
| 3582 | hello = self.mongocryptd_client.db.command("hello") |
| 3583 | self.assertNotIn("logicalSessionTimeoutMinutes", hello) |
| 3584 | |
| 3585 | def test_implicit_session_ignored_when_unsupported(self): |
| 3586 | self.listener.reset() |
nothing calls this directly
no test coverage detected