diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-05-15 00:10:59 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-05-15 00:10:59 +0200 |
commit | 746af75bc6647ac825dfca56fc6da8bdbecd86b8 (patch) | |
tree | 271fca3d6cfb39cae65b2bf1740f58ae021b4daf | |
parent | fdb75ab38d6cdd27113fa256d720e518c6818fb7 (diff) | |
download | semantic-version-746af75bc6647ac825dfca56fc6da8bdbecd86b8.tar.gz |
Make test modules runable.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-rwxr-xr-x[-rw-r--r--] | tests/test_base.py | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | tests/test_match.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | tests/test_parsing.py | 0 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_base.py b/tests/test_base.py index a1b5ca0..f89e750 100644..100755 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -128,3 +128,6 @@ class SemanticVersionTestCase(unittest.TestCase): for field in fields: self.assertIn(repr(field), repr(version)) + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_match.py b/tests/test_match.py index 64011b1..64011b1 100644..100755 --- a/tests/test_match.py +++ b/tests/test_match.py diff --git a/tests/test_parsing.py b/tests/test_parsing.py index cdf21fc..cdf21fc 100644..100755 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py |