Reduce scope of ZHA test fixtures (#116208)
parent
aa65f21be7
commit
a25b2168a3
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue