diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/thandy/tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/thandy/tests.py b/lib/thandy/tests.py index 1fbc4d6..a46258d 100644 --- a/lib/thandy/tests.py +++ b/lib/thandy/tests.py @@ -142,7 +142,9 @@ def suite(): return suite +def run_tests(): + unittest.TextTestRunner(verbosity=1).run(suite()) if __name__ == '__main__': - - unittest.TextTestRunner(verbosity=1).run(suite()) + run_tests() + |