summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/testcases/interface.py
diff options
context:
space:
mode:
authorAlexander Neben <alexander.neben@mongodb.com>2022-09-02 21:56:05 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-02 22:55:09 +0000
commit97ac02fa506b4a9e7e0729b9c492bc4ace79499c (patch)
tree975a4d92d9a33f3eb49920daf4ffe8deba3f84b7 /buildscripts/resmokelib/testing/testcases/interface.py
parentd4d4a26801f7b3033cd6103b6a317cc547ee142c (diff)
downloadmongo-97ac02fa506b4a9e7e0729b9c492bc4ace79499c.tar.gz
SERVER-68593 Disable low value python warnings
Diffstat (limited to 'buildscripts/resmokelib/testing/testcases/interface.py')
-rw-r--r--buildscripts/resmokelib/testing/testcases/interface.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildscripts/resmokelib/testing/testcases/interface.py b/buildscripts/resmokelib/testing/testcases/interface.py
index 19d52f3a08c..d07a786c39e 100644
--- a/buildscripts/resmokelib/testing/testcases/interface.py
+++ b/buildscripts/resmokelib/testing/testcases/interface.py
@@ -21,7 +21,7 @@ def make_test_case(test_kind, *args, **kwargs):
return _TEST_CASES[test_kind](*args, **kwargs)
-class TestCase(unittest.TestCase, metaclass=registry.make_registry_metaclass(_TEST_CASES)): # pylint: disable=too-many-instance-attributes, invalid-metaclass
+class TestCase(unittest.TestCase, metaclass=registry.make_registry_metaclass(_TEST_CASES)): # pylint: disable=invalid-metaclass
"""A test case to execute."""
REGISTERED_NAME = registry.LEAVE_UNREGISTERED
@@ -105,12 +105,12 @@ class TestCase(unittest.TestCase, metaclass=registry.make_registry_metaclass(_TE
"""Run the specified test."""
raise NotImplementedError("run_test must be implemented by TestCase subclasses")
- def as_command(self): # pylint: disable=no-self-use
+ def as_command(self):
"""Return the command invocation used to run the test or None."""
return None
-class UndoDBUtilsMixin: # pylint: disable=abstract-method
+class UndoDBUtilsMixin:
"""Utility functions for interacting with UndoDB."""
def __init__(self, logger, *args, **kwargs): # pylint: disable=unused-argument
@@ -127,7 +127,7 @@ class UndoDBUtilsMixin: # pylint: disable=abstract-method
os.rename(recording, recording + '.tokeep')
-class ProcessTestCase(TestCase, UndoDBUtilsMixin): # pylint: disable=abstract-method
+class ProcessTestCase(TestCase, UndoDBUtilsMixin):
"""Base class for TestCases that executes an external process."""
def run_test(self):