mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix implicit-return in nx584 tests (#122788)
This commit is contained in:
@@ -216,8 +216,8 @@ def test_nx584_watcher_run_with_zone_events() -> None:
|
||||
"""Return nothing twice, then some events."""
|
||||
if empty_me:
|
||||
empty_me.pop()
|
||||
else:
|
||||
return fake_events
|
||||
return None
|
||||
return fake_events
|
||||
|
||||
client = mock.MagicMock()
|
||||
fake_events = [
|
||||
|
Reference in New Issue
Block a user