mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix tests
This commit is contained in:
parent
c000e74d0a
commit
7ac8425099
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user