diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2018-04-03 07:19:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-03 07:19:16 +0000 |
commit | 0236fe345f85faf5e07fae683106021c97490720 (patch) | |
tree | 57c70c9e14249d38a0b20079e6c5f6d1b5dfc78e /tools/teststepstools.py | |
parent | 2814e71322f7da9dd6ad9988b2648316cc7bd034 (diff) | |
parent | 184b72f6b706036aeda88d52ecb0e0c27b1573fe (diff) |
Merge "python: Pylint 1.8.2 code conformity"
Diffstat (limited to 'tools/teststepstools.py')
-rw-r--r-- | tools/teststepstools.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/teststepstools.py b/tools/teststepstools.py index 33db8f79..db2d53e6 100644 --- a/tools/teststepstools.py +++ b/tools/teststepstools.py @@ -43,7 +43,7 @@ class TestStepsTools(object): return True @staticmethod - def validate_Assert(result, dummy_condition): + def validate_Assert(result, _dummy_condition): """ Validate evaluation of given `condition' """ return result @@ -56,7 +56,7 @@ class TestStepsTools(object): return eval(expression) @staticmethod - def validate_Eval(result, dummy_expression): + def validate_Eval(result, _dummy_expression): """ Validate result of python `expression' evaluation """ return result is not None @@ -76,7 +76,7 @@ class TestStepsTools(object): return True @staticmethod - def validate_Exec_Python(result, dummy_code): + def validate_Exec_Python(result, _dummy_code): """ Validate result of python `code' execution """ return result @@ -99,7 +99,7 @@ class TestStepsTools(object): return output @staticmethod - def validate_Exec_Shell(result, dummy_command, dummy_regex=None): + def validate_Exec_Shell(result, _dummy_command, _dummy_regex=None): """ validate result of shell `command' execution """ return result is not None @@ -115,7 +115,7 @@ class TestStepsTools(object): return None @staticmethod - def validate_Exec_Shell_Background(result, dummy_command, dummy_regex=None): + def validate_Exec_Shell_Background(result, _dummy_command, _dummy_regex=None): """ validate result of shell `command' execution on the background """ return result is not None |