summaryrefslogtreecommitdiffhomepage
path: root/test/test_asgi_lifespan.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_asgi_lifespan.py')
-rw-r--r--test/test_asgi_lifespan.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_asgi_lifespan.py b/test/test_asgi_lifespan.py
index 2fbc68f8..3d6fdcce 100644
--- a/test/test_asgi_lifespan.py
+++ b/test/test_asgi_lifespan.py
@@ -3,7 +3,7 @@ import pytest
from distutils.version import LooseVersion
from unit.applications.lang.python import TestApplicationPython
-from conftest import option
+from conftest import option, public_dir
class TestASGILifespan(TestApplicationPython):
@@ -23,6 +23,8 @@ class TestASGILifespan(TestApplicationPython):
open(shutdown_path, 'a').close()
open(version_path, 'a').close()
+ public_dir(option.test_dir + '/python/lifespan/empty')
+
assert self.get()['status'] == 204
self.stop()