Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement web.run_app utility function #734

Merged
merged 20 commits into from
Jan 13, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try to fix a test again
asvetlov committed Jan 12, 2016
commit 0f17dca03893909b51acdfb8bf98b37c505772c6
4 changes: 2 additions & 2 deletions tests/test_run_app.py
Original file line number Diff line number Diff line change
@@ -57,9 +57,9 @@ def test_run_app_nondefault_host_port(loop, unused_port):


def test_run_app_default_eventloop(loop, unused_port):
asyncio.set_event_loop(loop)

loop = mock.Mock(spec=asyncio.AbstractEventLoop, wrap=loop)

asyncio.set_event_loop(loop)
loop.call_later(0.01, loop.stop)

app = mock.Mock(wrap=web.Application())