Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Apr 11, 2018
1 parent 54dfedc commit ee7fd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ async def func(request):
aiohttp_jinja2.context_processors_middleware])
aiohttp_jinja2.setup(subapp, loader=jinja2.DictLoader(
{'tmpl.jinja2':
'foo: {{ foo }}, bar: {{ bar }}, baz: {{ baz }}, path: {{ request.path }}'}))
'foo: {{ foo }}, bar: {{ bar }}, '
'baz: {{ baz }}, path: {{ request.path }}'}))

async def subprocessor(request):
return {'foo': 1,
Expand All @@ -72,7 +73,6 @@ async def processor(request):

app.add_subapp('/sub/', subapp)


client = await aiohttp_client(app)

resp = await client.get('/sub/')
Expand Down

0 comments on commit ee7fd0a

Please sign in to comment.