diff options
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks/validate.py')
-rw-r--r-- | buildscripts/resmokelib/testing/hooks/validate.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/validate.py b/buildscripts/resmokelib/testing/hooks/validate.py index 20cf99c1158..3239ddbdc06 100644 --- a/buildscripts/resmokelib/testing/hooks/validate.py +++ b/buildscripts/resmokelib/testing/hooks/validate.py @@ -1,7 +1,4 @@ -""" -Testing hook for verifying the consistency and integrity of collection -and index data. -""" +"""Test hook for verifying the consistency and integrity of collection and index data.""" from __future__ import absolute_import @@ -11,13 +8,16 @@ from . import jsfile class ValidateCollections(jsfile.DataConsistencyHook): - """ - Runs full validation on all collections in all databases on every stand-alone + """Run full validation. + + This will run on all collections in all databases on every stand-alone node, primary replica-set node, or primary shard node. """ - def __init__(self, hook_logger, fixture, shell_options=None): + def __init__( # pylint: disable=super-init-not-called + self, hook_logger, fixture, shell_options=None): + """Initialize ValidateCollections.""" description = "Full collection validation" js_filename = os.path.join("jstests", "hooks", "run_validate_collections.js") - jsfile.JSHook.__init__(self, hook_logger, fixture, js_filename, description, - shell_options=shell_options) + jsfile.JSHook.__init__( # pylint: disable=non-parent-init-called + self, hook_logger, fixture, js_filename, description, shell_options=shell_options) |