mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix bug in flaky rfxtrx test (#2107)
This commit is contained in:
parent
bfd64ce96e
commit
5f98a70c21
@ -37,10 +37,10 @@ class TestRFXTRX(unittest.TestCase):
|
||||
'automatic_add': True,
|
||||
'devices': {}}}))
|
||||
|
||||
while len(rfxtrx.RFX_DEVICES) < 1:
|
||||
while len(rfxtrx.RFX_DEVICES) < 2:
|
||||
time.sleep(0.1)
|
||||
|
||||
self.assertEqual(len(rfxtrx.RFXOBJECT.sensors()), 1)
|
||||
self.assertEqual(len(rfxtrx.RFXOBJECT.sensors()), 2)
|
||||
|
||||
def test_valid_config(self):
|
||||
"""Test configuration."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user