home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable server to alternatively output response ctx as JSON, for debugging and testing...
[plomtask]
/
tests
/
utils.py
diff --git
a/tests/utils.py
b/tests/utils.py
index a9a4e80418a54f288281999b964ce8364474c177..15a53ae0ddc0b78835b5baacea15f43d3a81cba0 100644
(file)
--- a/
tests/utils.py
+++ b/
tests/utils.py
@@
-217,6
+217,7
@@
class TestCaseWithServer(TestCaseWithDB):
self.server_thread.start()
self.conn = HTTPConnection(str(self.httpd.server_address[0]),
self.httpd.server_address[1])
+ self.httpd.set_json_mode()
def tearDown(self) -> None:
self.httpd.shutdown()