Skip to content

Commit 5c0a5f5

Browse files
committed
aiohttp renamed its fixtures.
1 parent c616b9d commit 5c0a5f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_web.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async def readany(self):
1616

1717

1818
@pytest.mark.asyncio
19-
async def test_web_handler(irc3_bot_factory, raw_test_server, test_client):
19+
async def test_web_handler(irc3_bot_factory, aiohttp_raw_server, aiohttp_client):
2020
bot = irc3_bot_factory(includes=['irc3.plugins.web'])
2121
plugin = bot.get_plugin(web.Web)
2222
plugin.server_ready()
@@ -28,7 +28,7 @@ async def test_web_handler(irc3_bot_factory, raw_test_server, test_client):
2828

2929
@pytest.mark.asyncio
3030
async def test_web_handler_post(irc3_bot_factory,
31-
raw_test_server, test_client):
31+
aiohttp_raw_server, aiohttp_client):
3232
bot = irc3_bot_factory(includes=['irc3.plugins.web'])
3333
plugin = bot.get_plugin(web.Web)
3434

@@ -43,7 +43,7 @@ async def test_web_handler_post(irc3_bot_factory,
4343

4444
@pytest.mark.asyncio
4545
async def test_web_handler_post_auth(irc3_bot_factory,
46-
raw_test_server, test_client):
46+
aiohttp_raw_server, aiohttp_client):
4747
bot = irc3_bot_factory(**{
4848
'includes': ['irc3.plugins.web'],
4949
'irc3.plugins.web': {'api_key': 'toomanysecrets'},
@@ -66,7 +66,7 @@ async def test_web_handler_post_auth(irc3_bot_factory,
6666

6767

6868
@pytest.mark.asyncio
69-
async def test_web_handler_404(irc3_bot_factory, raw_test_server, test_client):
69+
async def test_web_handler_404(irc3_bot_factory, aiohttp_raw_server, aiohttp_client):
7070
bot = irc3_bot_factory(includes=['irc3.plugins.web'])
7171
plugin = bot.get_plugin(web.Web)
7272

0 commit comments

Comments
 (0)