@@ -24,7 +24,7 @@ async def authorized_userid(self, identity):
2424 return None
2525
2626
27- async def test_authorized_userid (loop , aiohttp_client ):
27+ async def test_authorized_userid (aiohttp_client ):
2828
2929 async def login (request ):
3030 response = web .HTTPFound (location = '/' )
@@ -48,7 +48,7 @@ async def check(request):
4848 assert 'Andrew' == txt
4949
5050
51- async def test_authorized_userid_not_authorized (loop , aiohttp_client ):
51+ async def test_authorized_userid_not_authorized (aiohttp_client ):
5252
5353 async def check (request ):
5454 userid = await authorized_userid (request )
@@ -64,7 +64,7 @@ async def check(request):
6464 assert 200 == resp .status
6565
6666
67- async def test_permits_enum_permission (loop , aiohttp_client ):
67+ async def test_permits_enum_permission (aiohttp_client ):
6868 class Permission (enum .Enum ):
6969 READ = '101'
7070 WRITE = '102'
@@ -107,7 +107,7 @@ async def check(request):
107107 assert 200 == resp .status
108108
109109
110- async def test_permits_unauthorized (loop , aiohttp_client ):
110+ async def test_permits_unauthorized (aiohttp_client ):
111111
112112 async def check (request ):
113113 ret = await permits (request , 'read' )
@@ -126,7 +126,7 @@ async def check(request):
126126 assert 200 == resp .status
127127
128128
129- async def test_is_anonymous (loop , aiohttp_client ):
129+ async def test_is_anonymous (aiohttp_client ):
130130
131131 async def index (request ):
132132 is_anon = await is_anonymous (request )
@@ -162,7 +162,7 @@ async def logout(request):
162162 assert web .HTTPUnauthorized .status_code == resp .status
163163
164164
165- async def test_check_authorized (loop , aiohttp_client ):
165+ async def test_check_authorized (aiohttp_client ):
166166 async def index (request ):
167167 await check_authorized (request )
168168 return web .Response ()
@@ -195,7 +195,7 @@ async def logout(request):
195195 assert web .HTTPUnauthorized .status_code == resp .status
196196
197197
198- async def test_check_permission (loop , aiohttp_client ):
198+ async def test_check_permission (aiohttp_client ):
199199
200200 async def index_read (request ):
201201 await check_permission (request , 'read' )
0 commit comments