1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Adjust hass_client type hint in integration tests (#86954)

* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
This commit is contained in:
epenet
2023-02-02 22:29:57 +01:00
committed by GitHub
parent 8bff95014c
commit a79be493e5
54 changed files with 179 additions and 178 deletions

View File

@@ -1,6 +1,5 @@
"""Tests for the diagnostics data provided by the ESPHome integration."""
from aiohttp import ClientSession
import pytest
from homeassistant.components.esphome import CONF_DEVICE_NAME, CONF_NOISE_PSK
@@ -11,11 +10,12 @@ from . import DASHBOARD_SLUG
from tests.common import MockConfigEntry
from tests.components.diagnostics import get_diagnostics_for_config_entry
from tests.typing import ClientSessionGenerator
async def test_diagnostics(
hass: HomeAssistant,
hass_client: ClientSession,
hass_client: ClientSessionGenerator,
init_integration: MockConfigEntry,
enable_bluetooth: pytest.fixture,
mock_dashboard,