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