Replace ConfigEntry with MockConfigEntry in Axis tests (#122629)
* Remove unused fixtures in Axis tests * Replace ConfigEntry with MockConfigEntry
This commit is contained in:
parent
51d5e21203
commit
c9b81a5c04
4 changed files with 18 additions and 15 deletions
|
@ -3,11 +3,11 @@
|
|||
import pytest
|
||||
from syrupy import SnapshotAssertion
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .const import API_DISCOVERY_BASIC_DEVICE_INFO
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
from tests.components.diagnostics import get_diagnostics_for_config_entry
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
@ -16,7 +16,7 @@ from tests.typing import ClientSessionGenerator
|
|||
async def test_entry_diagnostics(
|
||||
hass: HomeAssistant,
|
||||
hass_client: ClientSessionGenerator,
|
||||
config_entry_setup: ConfigEntry,
|
||||
config_entry_setup: MockConfigEntry,
|
||||
snapshot: SnapshotAssertion,
|
||||
) -> None:
|
||||
"""Test config entry diagnostics."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue