(self)
| 380 | return self.pytest_test_path(test_case).exists() |
| 381 | |
| 382 | def client(self) -> None: |
| 383 | result_file = self.get_result_file() |
| 384 | |
| 385 | pytest_command = [ |
| 386 | "pytest", str(self.pytest_test_path(self.test_case)), |
| 387 | f"--junitxml={result_file}", |
| 388 | "--client", |
| 389 | *self.client_extra_parameters |
| 390 | ] |
| 391 | |
| 392 | if self.transport == "tcp": |
| 393 | pytest_command.extend(["--port", str(self.tcp_port)]) |
| 394 | elif self.transport == "serial" and self.serial_port: |
| 395 | pytest_command.extend(["--serial", self.serial_port]) |
| 396 | else: |
| 397 | raise ValueError |
| 398 | |
| 399 | self.client_process = Popen(pytest_command) |
| 400 | |
| 401 | def server(self) -> None: |
| 402 | pytest_command = [ |
nothing calls this directly
no test coverage detected