forked from home-assistant/core
Reduce scope of mock_network fixture
This commit is contained in:
@@ -1325,7 +1325,7 @@ async def mqtt_mock_entry(
|
|||||||
yield _setup_mqtt_entry
|
yield _setup_mqtt_entry
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True, scope="session")
|
@pytest.fixture(autouse=True, scope="module")
|
||||||
def mock_network() -> Generator[None]:
|
def mock_network() -> Generator[None]:
|
||||||
"""Mock network."""
|
"""Mock network."""
|
||||||
with (
|
with (
|
||||||
|
Reference in New Issue
Block a user