From 42725137f7a19991680c78a0b2d69bcbf1f9ab63 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 4 Feb 2021 15:09:54 +0000 Subject: Tests: added tests for "path" option in Python application. --- test/python/path/wsgi.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/python/path/wsgi.py (limited to 'test/python/path/wsgi.py') diff --git a/test/python/path/wsgi.py b/test/python/path/wsgi.py new file mode 100644 index 00000000..2807f6ef --- /dev/null +++ b/test/python/path/wsgi.py @@ -0,0 +1,8 @@ +import os +import sys + +def application(environ, start_response): + body = os.pathsep.join(sys.path).encode() + + start_response('200', [('Content-Length', str(len(body)))]) + return [body] -- cgit