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:
parent
26e9590927
commit
1aa7c87151
10 changed files with 15 additions and 29 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue