mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +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."""
|
"""Return nothing twice, then some events."""
|
||||||
if empty_me:
|
if empty_me:
|
||||||
empty_me.pop()
|
empty_me.pop()
|
||||||
else:
|
return None
|
||||||
return fake_events
|
return fake_events
|
||||||
|
|
||||||
client = mock.MagicMock()
|
client = mock.MagicMock()
|
||||||
fake_events = [
|
fake_events = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user