Merge branch 'master' into asgi-refactor-attempt

This commit is contained in:
Adam Hopkins
2019-06-11 11:11:32 +03:00
committed by GitHub
12 changed files with 167 additions and 86 deletions

View File

@@ -85,7 +85,7 @@ async def test_trigger_before_events_create_server(app):
async def init_db(app, loop):
app.db = MySanicDb()
await app.create_server(debug=True, return_asyncio_server=True)
await app.create_server(debug=True, return_asyncio_server=True, port=PORT)
assert hasattr(app, "db")
assert isinstance(app.db, MySanicDb)