Move indexing back into .identify() method.

This commit is contained in:
Sam Bull committed 2020-12-19 16:44:41 +00:00
1 parent 2247eb72f9
commit 43f59a21fc
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ async def test_identify(loop, make_token, aiohttp_client):
async def check(request):
policy = request.app[IDENTITY_KEY]
identity = await policy.identify(request)
assert 'Andrew' == identity['login']
assert 'Andrew' == identity
return web.Response()
app = web.Application()