Reduce scope of ZHA test fixtures (#116208)

This commit is contained in:
Erik Montnemery
2024-04-26 16:08:58 +02:00
committed by GitHub
parent aa65f21be7
commit a25b2168a3

View File

@@ -42,7 +42,7 @@ FIXTURE_GRP_NAME = "fixture group"
COUNTER_NAMES = ["counter_1", "counter_2", "counter_3"]
@pytest.fixture(scope="session", autouse=True)
@pytest.fixture(scope="module", autouse=True)
def disable_request_retry_delay():
"""Disable ZHA request retrying delay to speed up failures."""
@@ -53,7 +53,7 @@ def disable_request_retry_delay():
yield
@pytest.fixture(scope="session", autouse=True)
@pytest.fixture(scope="module", autouse=True)
def globally_load_quirks():
"""Load quirks automatically so that ZHA tests run deterministically in isolation.