mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Remove unused diagnostics fixtures (#121066)
This commit is contained in:
parent
87f7703f3c
commit
8709c668cc
@ -11,7 +11,6 @@ from syrupy.assertion import SnapshotAssertion
|
||||
|
||||
from homeassistant.auth.models import Credentials
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from .conftest import TEST_EVENT, ApiResult, ComponentSetup
|
||||
|
||||
@ -55,12 +54,6 @@ def _get_test_client_generator(
|
||||
return auth_client
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def setup_diag(hass):
|
||||
"""Set up diagnostics platform."""
|
||||
assert await async_setup_component(hass, "diagnostics", {})
|
||||
|
||||
|
||||
@freeze_time("2023-03-13 12:05:00-07:00")
|
||||
@pytest.mark.usefixtures("socket_enabled")
|
||||
async def test_diagnostics(
|
||||
|
@ -7,7 +7,6 @@ from syrupy.assertion import SnapshotAssertion
|
||||
|
||||
from homeassistant.auth.models import Credentials
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from .conftest import TEST_ENTITY, Client
|
||||
|
||||
@ -41,12 +40,6 @@ def _get_test_client_generator(
|
||||
return auth_client
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def setup_diag(hass):
|
||||
"""Set up diagnostics platform."""
|
||||
assert await async_setup_component(hass, "diagnostics", {})
|
||||
|
||||
|
||||
@freeze_time("2023-03-13 12:05:00-07:00")
|
||||
@pytest.mark.usefixtures("socket_enabled")
|
||||
async def test_empty_calendar(
|
||||
|
Loading…
x
Reference in New Issue
Block a user