mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +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
|
||||
|
||||
# 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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user