Reduce scope of bootstrap test fixture to module ()

This commit is contained in:
Erik Montnemery 2024-04-26 05:00:07 +02:00 committed by GitHub
parent db8597a742
commit 764b34ab62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 (