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

Add missing return type in test __init__ method (part 2) (#123939)

* Add missing return type in test __init__ method (part 2)

* Adjust

* One more

* One more

* More
This commit is contained in:
epenet
2024-08-14 17:59:15 +02:00
committed by GitHub
parent 3322fa0294
commit 3e967700fd
51 changed files with 70 additions and 67 deletions

View File

@@ -212,7 +212,7 @@ async def test_recovery_from_dbus_restart(hass: HomeAssistant) -> None:
mock_discovered = []
class MockBleakScanner:
def __init__(self, detection_callback, *args, **kwargs):
def __init__(self, detection_callback, *args: Any, **kwargs: Any) -> None:
nonlocal _callback
_callback = detection_callback