mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Reduce scope of ZHA test fixtures (#116208)
This commit is contained in:
parent
aa65f21be7
commit
a25b2168a3
@ -42,7 +42,7 @@ FIXTURE_GRP_NAME = "fixture group"
|
|||||||
COUNTER_NAMES = ["counter_1", "counter_2", "counter_3"]
|
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():
|
def disable_request_retry_delay():
|
||||||
"""Disable ZHA request retrying delay to speed up failures."""
|
"""Disable ZHA request retrying delay to speed up failures."""
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ def disable_request_retry_delay():
|
|||||||
yield
|
yield
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session", autouse=True)
|
@pytest.fixture(scope="module", autouse=True)
|
||||||
def globally_load_quirks():
|
def globally_load_quirks():
|
||||||
"""Load quirks automatically so that ZHA tests run deterministically in isolation.
|
"""Load quirks automatically so that ZHA tests run deterministically in isolation.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user