fix: test loop fixture rename to event_loop

This commit is contained in:
Georg K
2022-07-28 01:58:33 +03:00
parent df2ef1adc0
commit 69141302cf
5 changed files with 17 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ class ArticleViewWithPaginationGroup(PydanticView):
async def test_get_article_without_required_qs_should_return_an_error_message(
aiohttp_client, loop
aiohttp_client, event_loop
):
app = web.Application()
app.router.add_view("/article", ArticleView)
@@ -75,7 +75,7 @@ async def test_get_article_without_required_qs_should_return_an_error_message(
async def test_get_article_with_wrong_qs_type_should_return_an_error_message(
aiohttp_client, loop
aiohttp_client, event_loop
):
app = web.Application()
app.router.add_view("/article", ArticleView)
@@ -95,7 +95,7 @@ async def test_get_article_with_wrong_qs_type_should_return_an_error_message(
async def test_get_article_with_valid_qs_should_return_the_parsed_type(
aiohttp_client, loop
aiohttp_client, event_loop
):
app = web.Application()
app.router.add_view("/article", ArticleView)
@@ -114,7 +114,7 @@ async def test_get_article_with_valid_qs_should_return_the_parsed_type(
async def test_get_article_with_valid_qs_and_omitted_optional_should_return_default_value(
aiohttp_client, loop
aiohttp_client, event_loop
):
app = web.Application()
app.router.add_view("/article", ArticleView)
@@ -133,7 +133,7 @@ async def test_get_article_with_valid_qs_and_omitted_optional_should_return_defa
async def test_get_article_with_multiple_value_for_qs_age_must_failed(
aiohttp_client, loop
aiohttp_client, event_loop
):
app = web.Application()
app.router.add_view("/article", ArticleView)