Provide device simulator for benchmarks.
()
| 51 | |
| 52 | @pytest.fixture |
| 53 | def device_simulator(): |
| 54 | """Provide device simulator for benchmarks.""" |
| 55 | sim = DeviceSimulator(host="127.0.0.1", port=9000, protocol="tcp") |
| 56 | sim.start() |
| 57 | yield sim |
| 58 | sim.stop() |
| 59 | |
| 60 | |
| 61 | @pytest.mark.performance |
nothing calls this directly
no test coverage detected