summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/test_code_checks.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-05 11:57:16 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-05 11:57:16 -0400
commit1a3ced3f45423d79e08ca7d861e8118e8618d3b2 (patch)
tree72dcb775987fff65471b6e27bc2c6313d8fcb409 /testsuite/Testsrc/test_code_checks.py
parentcc2e101cd6a1ef8c29ef2481c03274011f321a77 (diff)
downloadbcfg2-1a3ced3f45423d79e08ca7d861e8118e8618d3b2.tar.gz
bcfg2-1a3ced3f45423d79e08ca7d861e8118e8618d3b2.tar.bz2
bcfg2-1a3ced3f45423d79e08ca7d861e8118e8618d3b2.zip
wrote more detailed unit testing documentation
Diffstat (limited to 'testsuite/Testsrc/test_code_checks.py')
-rw-r--r--testsuite/Testsrc/test_code_checks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py
index ac4183576..481dd7fa3 100644
--- a/testsuite/Testsrc/test_code_checks.py
+++ b/testsuite/Testsrc/test_code_checks.py
@@ -13,7 +13,7 @@ while _path != '/':
if os.path.basename(_path) == "testsuite":
break
_path = os.path.dirname(_path)
-from common import can_skip, skip, skipIf, skipUnless, Bcfg2TestCase
+from common import *
# path to Bcfg2 src directory
srcpath = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..",
@@ -168,7 +168,6 @@ class TestPylint(Bcfg2TestCase):
full_blacklist = expand_path_dict(error_checks) + contingent_blacklist + \
blacklist
-
@skipIf(not os.path.exists(srcpath), "%s does not exist" % srcpath)
@skipIf(not os.path.exists(rcfile), "%s does not exist" % rcfile)
@skipUnless(HAS_PYLINT, "pylint not found, skipping")