Fix tests
This commit is contained in:
1 parent
c000e74d0a
commit
7ac8425099
1 file changed
+1
@@ -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