Fix some pytest warning for helpers (#85283)

This commit is contained in:
Paulus Schoutsen 2023-01-06 03:21:46 -05:00 committed by GitHub
parent f620d2bb2f
commit 9ed629d838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View file

@ -238,7 +238,7 @@ async def test_async_async_request_call_without_lock(hass):
job1 = ent_1.async_request_call(ent_1.testhelper(1))
job2 = ent_2.async_request_call(ent_2.testhelper(2))
await asyncio.wait([job1, job2])
await asyncio.gather(job1, job2)
while True:
if len(updates) >= 2:
break