run_tests.py
author Radek Brich <brich.radek@ifortuna.cz>
Mon, 14 Apr 2014 22:29:07 +0200
changeset 11 d1f08fc9de31
parent 3 cc27136cdead
permissions -rwxr-xr-x
Update prettysize: Add parameter to enable trailing zeros.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
#!/usr/bin/env python3
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
import unittest
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
loader = unittest.TestLoader()
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
tests = loader.discover('tests')
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
runner = unittest.runner.TextTestRunner()
cc27136cdead Add ConfigParser and tests.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
runner.run(tests)