Fail CI on lingering tasks (#88905)
This commit is contained in:
parent
85bcf11aeb
commit
c51bde9a26
24 changed files with 170 additions and 2 deletions
|
@ -24,6 +24,8 @@ async def switch_node_fixture(
|
|||
)
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_turn_on(
|
||||
hass: HomeAssistant,
|
||||
matter_client: MagicMock,
|
||||
|
@ -58,6 +60,8 @@ async def test_turn_on(
|
|||
assert state.state == "on"
|
||||
|
||||
|
||||
# This tests needs to be adjusted to remove lingering tasks
|
||||
@pytest.mark.parametrize("expected_lingering_tasks", [True])
|
||||
async def test_turn_off(
|
||||
hass: HomeAssistant,
|
||||
matter_client: MagicMock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue