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:
parent
54b9995e22
commit
24815255be
3 changed files with 111 additions and 42 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue