mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00: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…
x
Reference in New Issue
Block a user