Commit 9638112f authored by Goran Pavlovic's avatar Goran Pavlovic
Browse files

Fixed add route view, compatiblity with aiohttp 2.3.x

parent 4bf38e5f
......@@ -262,7 +262,7 @@ def test_wrong_method(test_client, loop):
@asyncio.coroutine
def test_class_view(test_client, loop):
app = web.Application(loop=loop)
app.router.add_view("/class_view", ClassView)
app.router.add_route('*', "/class_view", ClassView)
setup_swagger(app)
client = yield from test_client(app)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment