Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues.
This commit is contained in:
@@ -6,6 +6,6 @@ async def application(scope, receive, send):
|
||||
await send({"type": "lifespan.startup.failed"})
|
||||
raise Exception('Exception blah')
|
||||
|
||||
elif message['type'] == 'lifespan.shutdown':
|
||||
if message['type'] == 'lifespan.shutdown':
|
||||
await send({'type': 'lifespan.shutdown.complete'})
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user