run_tests.py
author Radek Brich <radek.brich@devl.cz>
Wed, 09 Jul 2014 17:56:48 +0200
changeset 15 497067ee16b7
parent 3 cc27136cdead
permissions -rwxr-xr-x
Update setup.py: Do not rename the package to python3-pycolib for bdist_rpm target. This should be done by packager if needed.
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)