Tests: added tests for "path" option in Python application.
This commit is contained in:
8
test/python/path/wsgi.py
Normal file
8
test/python/path/wsgi.py
Normal file
@@ -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]
|
||||
Reference in New Issue
Block a user