Reduce scope of bootstrap test fixture to module (#116195)

This commit is contained in:
Erik Montnemery 2024-04-26 05:00:07 +02:00 committed by Paulus Schoutsen
parent 9f84c38f08
commit 1be5249269

View file

@ -44,7 +44,7 @@ async def apply_stop_hass(stop_hass: None) -> None:
"""Make sure all hass are stopped."""
@pytest.fixture(scope="session", autouse=True)
@pytest.fixture(scope="module", autouse=True)
def mock_http_start_stop() -> Generator[None, None, None]:
"""Mock HTTP start and stop."""
with (