From 364de925052d44e917c6e93fbaf7524ea2b473ed Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 20 Nov 2019 15:00:08 +0100 Subject: [PATCH] disable debug logs on tests --- tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests.sh b/tests.sh index 3974bb3..ce49ee0 100755 --- a/tests.sh +++ b/tests.sh @@ -25,6 +25,9 @@ which ${nosebin} 2>/dev/null [ "$?" != "0" ] && echo "Install nosetests" && exit 1 set -e +# do not print debugs when running tests (faster) +export DOTDROP_FORCE_NODEBUG=yes + # execute tests with coverage PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop #PYTHONPATH=dotdrop python3 -m pytest tests