(self)
| 420 | |
| 421 | class TestTransactionsConvenientAPI(TransactionsBase): |
| 422 | def setUp(self) -> None: |
| 423 | super().setUp() |
| 424 | self.mongos_clients = [] |
| 425 | if client_context.supports_transactions(): |
| 426 | for address in client_context.mongoses: |
| 427 | self.mongos_clients.append(self.single_client("{}:{}".format(*address))) |
| 428 | |
| 429 | def set_fail_point(self, command_args): |
| 430 | clients = self.mongos_clients if self.mongos_clients else [self.client] |
nothing calls this directly
no test coverage detected