Skip to content

Commit

Permalink
Merge pull request #1794 from diogommartins/fix/testing_documentation…
Browse files Browse the repository at this point in the history
…_for_v2

Fixing the documentation of AioHTTPTestCase get_application at testing.rst
  • Loading branch information
fafhrd91 authored Apr 8, 2017
2 parents 6f5da45 + 92ab1e5 commit 029433e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ functionality, the AioHTTPTestCase is provided::
class MyAppTestCase(AioHTTPTestCase):

async def get_application(self):
"""Override the get_app method to return your application.
"""
# it's important to use the loop passed here.
Override the get_app method to return your application.
"""
return web.Application()

# the unittest_run_loop decorator can be used in tandem with
Expand Down

0 comments on commit 029433e

Please sign in to comment.