summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/src
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-28 14:32:04 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-03-06 19:49:16 +0100
commitdace1a426b0a9b2dec4d8290370f3ba0dd882e12 (patch)
tree903a9cde44bc1a795fec6c86b0884aa424bc45f3 /roles/lib_utils/src
parent29520b2f419b0b7fabe4817df82d22707580cab7 (diff)
downloadopenshift-dace1a426b0a9b2dec4d8290370f3ba0dd882e12.tar.gz
openshift-dace1a426b0a9b2dec4d8290370f3ba0dd882e12.tar.bz2
openshift-dace1a426b0a9b2dec4d8290370f3ba0dd882e12.tar.xz
openshift-dace1a426b0a9b2dec4d8290370f3ba0dd882e12.zip
Clean up test files
They are not executable anymore, and tests are now meant to be run through pytest.
Diffstat (limited to 'roles/lib_utils/src')
-rwxr-xr-xroles/lib_utils/src/test/unit/test_repoquery.py12
-rwxr-xr-xroles/lib_utils/src/test/unit/test_yedit.py12
2 files changed, 0 insertions, 24 deletions
diff --git a/roles/lib_utils/src/test/unit/test_repoquery.py b/roles/lib_utils/src/test/unit/test_repoquery.py
index c487ab254..790dabfc7 100755
--- a/roles/lib_utils/src/test/unit/test_repoquery.py
+++ b/roles/lib_utils/src/test/unit/test_repoquery.py
@@ -1,14 +1,6 @@
-#!/usr/bin/env python2
'''
Unit tests for repoquery
'''
-# To run:
-# ./repoquery.py
-#
-# .
-# Ran 1 test in 0.002s
-#
-# OK
import os
import sys
@@ -81,7 +73,3 @@ class RepoQueryTest(unittest.TestCase):
def tearDown(self):
'''TearDown method'''
pass
-
-
-if __name__ == "__main__":
- unittest.main()
diff --git a/roles/lib_utils/src/test/unit/test_yedit.py b/roles/lib_utils/src/test/unit/test_yedit.py
index a22cdee56..23a3f7353 100755
--- a/roles/lib_utils/src/test/unit/test_yedit.py
+++ b/roles/lib_utils/src/test/unit/test_yedit.py
@@ -1,14 +1,6 @@
-#!/usr/bin/env python2
'''
Unit tests for yedit
'''
-# To run
-# python -m unittest yedit_test
-#
-# .............................
-# ----------------------------------------------------------------------
-# Ran 29 tests in 0.133s
-# OK
import os
import sys
@@ -288,7 +280,3 @@ class YeditTest(unittest.TestCase):
def tearDown(self):
'''TearDown method'''
os.unlink(YeditTest.filename)
-
-
-if __name__ == "__main__":
- unittest.main()