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

Add type hints to integration tests (b-c) (#87698)

This commit is contained in:
epenet
2023-02-08 18:08:43 +01:00
committed by GitHub
parent 1a414f1433
commit 807c69f621
66 changed files with 548 additions and 350 deletions

View File

@@ -1,6 +1,4 @@
"""Tests for the Bluetooth integration."""
from unittest.mock import patch
import bleak
@@ -15,6 +13,7 @@ from homeassistant.components.bluetooth.wrappers import (
HaBleakClientWrapper,
HaBleakScannerWrapper,
)
from homeassistant.core import HomeAssistant
from . import _get_manager
@@ -23,7 +22,7 @@ MOCK_BLE_DEVICE = BLEDevice(
)
async def test_multiple_bleak_scanner_instances(hass):
async def test_multiple_bleak_scanner_instances(hass: HomeAssistant) -> None:
"""Test creating multiple BleakScanners without an integration."""
install_multiple_bleak_catcher()