]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/__init__.py
test: add the ability to run the test suite verbosely.
[dunshire.git] / test / __init__.py
index 2e23a7c7dbec733dc994b611e137a33f419d036d..28d90a6c56098a93e02efabc04ffa7185400c2bf 100644 (file)
@@ -44,10 +44,10 @@ def build_suite(doctests=True):
     suite.addTest(mat_tests)
     return suite
 
-def run_suite(suite):
+def run_suite(suite, verbosity):
     """
-    Run all of the unit and doctests for the ``dunshire`` and ``test``
-    packages.
+    Run all of the unit and doctests for the :mod:`dunshire` and
+    :mod:`test` packages.
     """
-    runner = TextTestRunner(verbosity=1)
+    runner = TextTestRunner(verbosity=verbosity)
     return runner.run(suite)