Skip to content

Commit bc69d6f

Browse files
author
Florian Horner
committed
test: mark PR basnijholt#1379 regression test as xfail
The test documents an unfixed bug (proactive adaptation context not cleared on light.turn_off, causing second split command to be sent to an off light). Upstream basnijholt#1379 added the test without the fix, so we xfail it until the bug is addressed.
1 parent 6024fdd commit bc69d6f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_switch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,6 +2995,10 @@ async def _flush_attr_state(hass, entity_id):
29952995
), f"AL overrode manual brightness {manual_brightness} with {al_brightness}"
29962996

29972997

2998+
@pytest.mark.xfail(
2999+
reason="Regression test from upstream PR #1379 — underlying bug not yet fixed",
3000+
strict=False,
3001+
)
29983002
async def test_separate_turn_on_commands_respects_light_off_state(hass):
29993003
"""Test that split commands are not sent when light is turned off between commands.
30003004

0 commit comments

Comments
 (0)