From 4dd40df729d0b5fcb091c4cbf326405c2ff41359 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 5 Sep 2024 09:12:53 +0200 Subject: [PATCH] test: disable for old headless --- tests/bluetooth/test_handle_prompt.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/bluetooth/test_handle_prompt.py b/tests/bluetooth/test_handle_prompt.py index d1f5690f4..e109c084a 100644 --- a/tests/bluetooth/test_handle_prompt.py +++ b/tests/bluetooth/test_handle_prompt.py @@ -37,7 +37,11 @@ } }], indirect=True) -async def test_bluetooth_handle_prompt(websocket, context_id, html): +async def test_bluetooth_handle_prompt(websocket, context_id, html, + test_headless_mode): + if test_headless_mode == "old": + pytest.xfail("Old headless mode does not support Bluetooth") + await subscribe(websocket, ['bluetooth']) url = html(HTML_SINGLE_PERIPHERAL)