mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Fix docstring in test_utils/aiohttp.py (#34040)
* fix docstring * fixed empty spaces
This commit is contained in:
parent
6e6ebb9495
commit
ea9f1376a6
@ -322,6 +322,9 @@ class MockLongPollSideEffect:
|
||||
self.semaphore.release()
|
||||
|
||||
def stop(self):
|
||||
"""Stop the current request and future ones. Avoids exception if there is someone waiting when exiting test."""
|
||||
"""Stop the current request and future ones.
|
||||
|
||||
This avoids an exception if there is someone waiting when exiting test.
|
||||
"""
|
||||
self.stopping = True
|
||||
self.queue_response(exc=ClientError())
|
||||
|
Loading…
x
Reference in New Issue
Block a user