summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-08-29 20:58:47 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-08-29 20:58:47 +0200
commit900b0acd0373ebbed3d7772caa90dcf9a6df1b56 (patch)
treedaeb79d982f1d15eed66a06bb50cb31baabf48bf /tests
parentaf699d004fe9b09a99210d9ebc5381ea0c741b7a (diff)
downloadclufter-900b0acd0373ebbed3d7772caa90dcf9a6df1b56.tar.gz
clufter-900b0acd0373ebbed3d7772caa90dcf9a6df1b56.tar.xz
clufter-900b0acd0373ebbed3d7772caa90dcf9a6df1b56.zip
tests/run_cmd: make standalone script (for consistency)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/run_cmd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run_cmd.py b/tests/run_cmd.py
index 77efbce..d6d4cc7 100644
--- a/tests/run_cmd.py
+++ b/tests/run_cmd.py
@@ -37,3 +37,7 @@ class Main(unittest.TestCase):
self.assertFalse(cmd_manager.commands["ccs2pcs-needle"](clufter_args))
# just the existence of the files is enough for now...
map(lambda f: self.assertTrue(exists(f)), files.itervalues())
+
+
+if __name__ == '__main__':
+ unittest.main()