Commit a18eb7c7 authored by Daan Klijn's avatar Daan Klijn
Browse files

add_resource -> add_route

parent 4a4946d7
......@@ -305,7 +305,7 @@ async def test_class_view_single_method(aiohttp_client, loop):
async def test_class_view_multiple_methods(aiohttp_client, loop):
app = web.Application(loop=loop)
app.router.add_resource("/class_view", ClassView)
app.router.add_route("*", "/class_view", ClassView)
client = await aiohttp_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