1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Use wsgi.errors to for errors

This commit is contained in:
Unrud 2018-08-16 07:59:56 +02:00
parent 54b9995e22
commit 24815255be
3 changed files with 111 additions and 42 deletions

View file

@ -43,6 +43,7 @@ class BaseTest:
data = data.encode("utf-8")
args["wsgi.input"] = BytesIO(data)
args["CONTENT_LENGTH"] = str(len(data))
args["wsgi.errors"] = sys.stderr
self.application._answer = self.application(args, self.start_response)
return (