Fix flapping pilight test (#41447)

pull/41119/head
J. Nick Koston 2020-10-07 23:58:17 -05:00 committed by GitHub
parent d73d36d0cd
commit 700e639ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,8 @@ class TestPilightCallrateThrottler(unittest.TestCase):
for i in range(3):
action(i)
assert runs == []
self.hass.block_till_done()
assert runs == [0]
exp = []
now = dt_util.utcnow()