mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
Fix docstring in test_util/aiohttp.py (#34024)
This commit is contained in:
parent
df121c2e88
commit
e88af54016
@ -295,7 +295,12 @@ def mock_aiohttp_client():
|
||||
|
||||
|
||||
class MockLongPollSideEffect:
|
||||
"""Imitate a long_poll request. Once created, actual responses are queued and if queue is empty, will await until done."""
|
||||
"""Imitate a long_poll request.
|
||||
|
||||
It should be created and used as a side effect for a GET/PUT/etc. request.
|
||||
Once created, actual responses are queued with queue_response
|
||||
If queue is empty, will await until done.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""Initialize the queue."""
|
||||
|
Loading…
Reference in New Issue
Block a user