mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 07:44:16 +00:00
make sure debugs get tested too
This commit is contained in:
4
tests.sh
4
tests.sh
@@ -26,8 +26,8 @@ which ${nosebin} 2>/dev/null
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# comment this to get debug info
|
# comment this to get debug info
|
||||||
export DOTDROP_FORCE_NODEBUG=
|
#export DOTDROP_FORCE_NODEBUG=
|
||||||
export DOTDROP_NOBANNER=
|
#export DOTDROP_NOBANNER=
|
||||||
|
|
||||||
# execute tests with coverage
|
# execute tests with coverage
|
||||||
PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop
|
PYTHONPATH=dotdrop ${nosebin} -s --with-coverage --cover-package=dotdrop
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ profiles:
|
|||||||
args = _fake_args()
|
args = _fake_args()
|
||||||
args['--profile'] = 'p1'
|
args['--profile'] = 'p1'
|
||||||
args['--cfg'] = 'mocked'
|
args['--cfg'] = 'mocked'
|
||||||
|
args['--verbose'] = True
|
||||||
|
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
o = Options(args=args)
|
o = Options(args=args)
|
||||||
|
|||||||
Reference in New Issue
Block a user