mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix AiohttpClientMockResponse.release (#98458)
This commit is contained in:
@@ -255,7 +255,7 @@ class AiohttpClientMockResponse:
|
|||||||
"""Return mock response as a json."""
|
"""Return mock response as a json."""
|
||||||
return loads(self.response.decode(encoding))
|
return loads(self.response.decode(encoding))
|
||||||
|
|
||||||
def release(self):
|
async def release(self):
|
||||||
"""Mock release."""
|
"""Mock release."""
|
||||||
|
|
||||||
def raise_for_status(self):
|
def raise_for_status(self):
|
||||||
|
Reference in New Issue
Block a user