(self, client)
| 99 | assert isinstance(data["service"], str) |
| 100 | |
| 101 | def test_simulation_running_is_bool(self, client): |
| 102 | data = _json(client.get("/api/health")) |
| 103 | assert isinstance(data.get("simulation_running"), bool) |
| 104 | |
| 105 | def test_simulation_not_running_with_test_engine(self, client): |
| 106 | """注入 autostart=False 引擎时 simulation_running 应为 False。""" |