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:
Ville Skyttä 2021-09-21 20:51:12 +03:00 committed by GitHub
parent 26e9590927
commit 1aa7c87151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 29 deletions

View file

@ -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,