Disable pytest's logs reporting
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 01 Dec 2017 11:19:19 +0100
changeset 12244 6a71cb23f827
parent 12243 a46fb3f58ea2
child 12245 cd760c411242
Disable pytest's logs reporting CubicWeb already prints captured logs in stderr upon test failure, so we get them twice. Until we fix our logging management, disabling pytest capture and restore brings the output level back to sanity.
tox.ini
--- a/tox.ini	Fri Dec 01 11:12:09 2017 +0100
+++ b/tox.ini	Fri Dec 01 11:19:19 2017 +0100
@@ -46,6 +46,7 @@
 
 [pytest]
 python_files = *test_*.py
+log_print = false
 
 [flake8]
 format = pylint