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

@@ -68,7 +68,7 @@ async def test_post_an_article_with_wrong_type_field_should_return_an_error_mess
]
async def test_post_an_array_json_is_supported(aiohttp_client, loop):
async def test_post_an_array_json_is_supported(aiohttp_client, event_loop):
app = web.Application()
app.router.add_view("/article", ArticleView)
@@ -120,7 +120,7 @@ async def test_post_an_object_json_to_a_list_model_should_return_an_error(
]
async def test_post_a_valid_article_should_return_the_parsed_type(aiohttp_client, loop):
async def test_post_a_valid_article_should_return_the_parsed_type(aiohttp_client, event_loop):
app = web.Application()
app.router.add_view("/article", ArticleView)