mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix docstring in test_util/aiohttp.py (#34024)
This commit is contained in:
@@ -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."""
|
||||
|
Reference in New Issue
Block a user