diff options
Diffstat (limited to 'silx/test/__init__.py')
-rw-r--r-- | silx/test/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/silx/test/__init__.py b/silx/test/__init__.py index 0991469..2063ab5 100644 --- a/silx/test/__init__.py +++ b/silx/test/__init__.py @@ -89,10 +89,13 @@ def suite(): return test_suite -def run_tests(): - """Run test complete test_suite""" +def run_tests(*args, **kwargs): + """Run test complete test_suite + + Provided arguments are passed to :class:`unittest.TextTestRunner`. + """ test_options.configure() - runner = unittest.TextTestRunner() + runner = unittest.TextTestRunner(*args, **kwargs) if not runner.run(suite()).wasSuccessful(): print("Test suite failed") return 1 |