mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Fix implicit-return in nx584 tests (#122788)
This commit is contained in:
parent
5b434ee336
commit
9393dcddb7
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user