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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user