Validate BLE driver status query.
(api_client, clean_state)
| 124 | |
| 125 | @pytest.mark.integration |
| 126 | def test_ble_driver_status(api_client, clean_state): |
| 127 | """Validate BLE driver status query.""" |
| 128 | if not api_client.command_exists("io.ble.getStatus"): |
| 129 | pytest.skip("BLE driver commands not available") |
| 130 | |
| 131 | api_client.command("io.setBusType", {"busType": 2}) |
| 132 | |
| 133 | status = api_client.command("io.ble.getStatus") |
| 134 | assert "adapterAvailable" in status |
| 135 | assert "operatingSystemSupported" in status |
| 136 | |
| 137 | |
| 138 | @pytest.mark.integration |
nothing calls this directly
no test coverage detected