mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Remove redundant aiohttp response status=200 kwargs (#56417)
* Remove redundant aiohttp response status=200 kwargs * Remove some more in h.c.auth * Restore explicit status=HTTP_OK for auth and webhook per review request
This commit is contained in:
@@ -395,7 +395,7 @@ async def test_api_error_log(
|
||||
assert resp.status == 401
|
||||
|
||||
with patch(
|
||||
"aiohttp.web.FileResponse", return_value=web.Response(status=200, text="Hello")
|
||||
"aiohttp.web.FileResponse", return_value=web.Response(text="Hello")
|
||||
) as mock_file:
|
||||
resp = await client.get(
|
||||
const.URL_API_ERROR_LOG,
|
||||
|
||||
Reference in New Issue
Block a user