Fail CI on lingering tasks (#88905)

This commit is contained in:
epenet 2023-03-07 11:35:48 +01:00 committed by GitHub
parent 85bcf11aeb
commit c51bde9a26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 170 additions and 2 deletions

View file

@ -18,6 +18,8 @@ from .common import setup_integration_with_node_fixture
from tests.common import MockConfigEntry
# This tests needs to be adjusted to remove lingering tasks
@pytest.mark.parametrize("expected_lingering_tasks", [True])
async def test_get_device_id(
hass: HomeAssistant,
matter_client: MagicMock,
@ -31,6 +33,8 @@ async def test_get_device_id(
assert device_id == "00000000000004D2-0000000000000005-MatterNodeDevice"
# This tests needs to be adjusted to remove lingering tasks
@pytest.mark.parametrize("expected_lingering_tasks", [True])
async def test_get_node_from_device_entry(
hass: HomeAssistant,
matter_client: MagicMock,