From 7ca156a591da885a87bf03a65b3ee170695ce6c4 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 20 Jun 2019 22:12:56 +0200 Subject: [PATCH] make sure debugs get tested too --- tests.sh | 4 ++-- tests/test_yamlcfg.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests.sh b/tests.sh index 57dabc8..3a33715 100755 --- a/tests.sh +++ b/tests.sh @@ -26,8 +26,8 @@ which ${nosebin} 2>/dev/null set -e # comment this to get debug info -export DOTDROP_FORCE_NODEBUG= -export DOTDROP_NOBANNER= +#export DOTDROP_FORCE_NODEBUG= +#export DOTDROP_NOBANNER= # execute tests with coverage PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop diff --git a/tests/test_yamlcfg.py b/tests/test_yamlcfg.py index 909feca..ece36d3 100644 --- a/tests/test_yamlcfg.py +++ b/tests/test_yamlcfg.py @@ -123,6 +123,7 @@ profiles: args = _fake_args() args['--profile'] = 'p1' args['--cfg'] = 'mocked' + args['--verbose'] = True with self.assertRaises(ValueError): o = Options(args=args)