fix: update tests

This commit is contained in:
Georg K
2022-07-28 01:53:23 +03:00
parent 9d488db276
commit 76dd0106be
6 changed files with 17 additions and 13 deletions

View File

@@ -130,7 +130,7 @@ async def test_get_article_with_valid_header_containing_hyphen_should_be_returne
assert await resp.json() == {"signature": "2020-10-04T18:01:00"}
async def test_wrong_value_to_header_defined_with_str_enum(aiohttp_client, loop):
async def test_wrong_value_to_header_defined_with_str_enum(aiohttp_client, event_loop):
app = web.Application()
app.router.add_view("/coord", ViewWithEnumType)
@@ -153,7 +153,7 @@ async def test_wrong_value_to_header_defined_with_str_enum(aiohttp_client, loop)
assert resp.content_type == "application/json"
async def test_correct_value_to_header_defined_with_str_enum(aiohttp_client, loop):
async def test_correct_value_to_header_defined_with_str_enum(aiohttp_client, event_loop):
app = web.Application()
app.router.add_view("/coord", ViewWithEnumType)
@@ -164,7 +164,7 @@ async def test_correct_value_to_header_defined_with_str_enum(aiohttp_client, loo
assert resp.content_type == "application/json"
async def test_with_signature_group(aiohttp_client, loop):
async def test_with_signature_group(aiohttp_client, event_loop):
app = web.Application()
app.router.add_view("/article", ArticleViewWithSignatureGroup)