summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-01-29 11:55:27 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2015-02-12 09:26:40 -0800
commit14077ebb22f018e11b1a0bf0b2f54657bb2691cb (patch)
treef9b9ebb57c15e39cc3a25b9d54c3cbcc6e64d314 /tests
parent3afd11fc170a1677e35f9bb287551166e780359a (diff)
xts.py: Hide unfixable pylint errors
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/xts.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/xts.py b/tests/xts.py
index 4b5ce6448..e1bdd2fbe 100644
--- a/tests/xts.py
+++ b/tests/xts.py
@@ -39,7 +39,7 @@ __all__ = ['profile']
X_TEST_SUITE = framework.core.PIGLIT_CONFIG.get('xts', 'path')
-class XTSProfile(TestProfile):
+class XTSProfile(TestProfile): # pylint: disable=too-few-public-methods
""" A subclass of TestProfile that provides a setup hook for XTS """
def _pre_run_hook(self):
""" This hook sets the XTSTest.results_path variable
@@ -59,7 +59,7 @@ class XTSProfile(TestProfile):
raise
-class XTSTest(Test):
+class XTSTest(Test): # pylint: disable=too-few-public-methods
""" X Test Suite class
Runs a single test or subtest from XTS.
@@ -83,7 +83,7 @@ class XTSTest(Test):
"XT_RESET_DELAY": '0',
"XT_FONTPATH_GOOD": '/usr/share/fonts/X11/misc',
"XT_FONTPATH": os.path.join(X_TEST_SUITE, 'xts5', 'fonts'),
- #XXX: Are the next 3 necissary
+ # XXX: Are the next 3 necissary?
"XT_LOCAL": 'Yes',
"XT_TCP": 'No',
"XT_DISPLAYHOST": ''})
@@ -166,7 +166,7 @@ class XTSTest(Test):
def populate_profile():
""" Populate the profile attribute """
# Add all tests to the profile
- profile = XTSProfile()
+ profile = XTSProfile() # pylint: disable=redefined-outer-name
fpath = os.path.join(X_TEST_SUITE, 'xts5')
for dirpath, _, filenames in os.walk(fpath):
for fname in filenames:
@@ -202,4 +202,4 @@ if not os.path.exists(X_TEST_SUITE):
print("xtest symlink not found!")
sys.exit(0)
-profile = populate_profile()
+profile = populate_profile() # pylint: disable=invalid-name