mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Fix tests
This commit is contained in:
@@ -40,6 +40,7 @@ class TestNX584SensorSetup(unittest.TestCase):
|
||||
def test_setup_no_config(self):
|
||||
"""Test the setup with no configuration."""
|
||||
hass = mock.MagicMock()
|
||||
hass.pool.worker_count = 2
|
||||
assert setup_component(hass, 'binary_sensor', {'nx584': {}})
|
||||
|
||||
@mock.patch('homeassistant.components.binary_sensor.nx584.NX584Watcher')
|
||||
|
Reference in New Issue
Block a user