[verbosity] option in tests

This commit is contained in:
Max Zwiessele 2015-09-10 14:45:52 +01:00
parent 6a5c2ea164
commit 7391bbc72a
2 changed files with 5 additions and 5 deletions

View file

@ -28,11 +28,11 @@ try:
#Get rid of nose dependency by only ignoring if you have nose installed
from nose.tools import nottest
@nottest
def tests():
Tester(testing).test(verbose=10)
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
except:
def tests():
Tester(testing).test(verbose=10)
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
def load(file_path):
"""