mirror of
https://github.com/home-assistant/core.git
synced 2026-09-27 01:46:11 -04:00
Make 'monitored_conditions' optional (#8848)
* Do not call update() in constructor * Update tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""The tests for the sonarr platform."""
|
||||
"""The tests for the Sonarr platform."""
|
||||
import unittest
|
||||
import time
|
||||
from datetime import datetime
|
||||
@@ -561,7 +561,7 @@ class TestSonarrSetup(unittest.TestCase):
|
||||
# pylint: disable=invalid-name
|
||||
DEVICES = []
|
||||
|
||||
def add_devices(self, devices):
|
||||
def add_devices(self, devices, update):
|
||||
"""Mock add devices."""
|
||||
for device in devices:
|
||||
self.DEVICES.append(device)
|
||||
|
||||
Reference in New Issue
Block a user