File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 33
44'''Testing package for `garlicsim`.'''
55
6+ import sys
67import os .path
78
89import nose
@@ -78,11 +79,16 @@ def exists(module_name):
7879__bootstrap ()
7980
8081
81- def invoke_nose (additional_arguments = []):
82- our_path = os .path .realpath (os .path .split (__file__ )[0 ])
83- arguments = [
84- #'--where="%s"' % our_path,
85- '--verbose' ,
86- ] + additional_arguments
87- nose .run (defaultTest = 'test_garlicsim' , argv = arguments )
82+ _default_nose_arguments = [
83+ '--verbosity=3' ,
84+ '--detailed-errors' ,
85+ '--with-xunit' ,
86+ '--cover-erase' ,
87+ '--cover-package=garlicsim,garlicsim_lib,garlicsim_wx,'
88+ 'test_garlicsim,test_garlicsim_lib,test_garlicsim_wx' ,
89+ ]
90+
91+
92+ def invoke_nose (arguments = _default_nose_arguments ):
93+ nose .run (defaultTest = 'test_garlicsim' , argv = ([sys .argv [0 ]] + arguments ))
8894
You can’t perform that action at this time.
0 commit comments