summaryrefslogtreecommitdiffhomepage
path: root/test/python/lifespan/error_auto/asgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/lifespan/error_auto/asgi.py')
-rw-r--r--test/python/lifespan/error_auto/asgi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/python/lifespan/error_auto/asgi.py b/test/python/lifespan/error_auto/asgi.py
new file mode 100644
index 00000000..90d506a1
--- /dev/null
+++ b/test/python/lifespan/error_auto/asgi.py
@@ -0,0 +1,2 @@
+async def application(scope, receive, send):
+ assert scope['type'] == 'http'