Reduce scope of ZHA test fixtures (#116208)

pull/116264/head
Erik Montnemery 2024-04-26 16:08:58 +02:00 committed by GitHub
parent aa65f21be7
commit a25b2168a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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.