diff options
| author | Martin Basti <mbasti@redhat.com> | 2016-10-06 20:28:59 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-10-11 16:50:32 +0200 |
| commit | 49b29591aa979560068449b78fd547915420ff08 (patch) | |
| tree | c54d07394827ae8086a917bf561ef1867817469b /ipatests/pytest_plugins | |
| parent | 51af7a15981eca753dfbda133cc557d0512f6e95 (diff) | |
| download | freeipa-49b29591aa979560068449b78fd547915420ff08.tar.gz freeipa-49b29591aa979560068449b78fd547915420ff08.tar.xz freeipa-49b29591aa979560068449b78fd547915420ff08.zip | |
Pylint: remove unused variables in tests
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
Diffstat (limited to 'ipatests/pytest_plugins')
| -rw-r--r-- | ipatests/pytest_plugins/integration.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ipatests/pytest_plugins/integration.py b/ipatests/pytest_plugins/integration.py index ab1054881..f946a07bf 100644 --- a/ipatests/pytest_plugins/integration.py +++ b/ipatests/pytest_plugins/integration.py @@ -34,8 +34,6 @@ from ipatests.test_integration import tasks from ipatests.test_integration.config import Config from ipatests.test_integration.env_config import get_global_config -# pylint: disable=unused-variable - log = log_mgr.get_logger(__name__) @@ -117,7 +115,7 @@ def collect_logs(name, logs_dict, logfile_dir=None, beakerlib_plugin=None): # $HOSTNAME-$FILENAME (with '/' replaced by '-') beakerlib_plugin.run_beakerlib_command(['pushd', topdirname]) try: - for dirpath, dirnames, filenames in os.walk(topdirname): + for dirpath, _dirnames, filenames in os.walk(topdirname): for filename in filenames: fullname = os.path.relpath( os.path.join(dirpath, filename), topdirname) @@ -171,7 +169,7 @@ def mh(request, class_integration_logs): {role: 1 for role in cls.required_extra_roles}) domain_descriptions = [domain_description] - for i in range(cls.num_ad_domains): + for _i in range(cls.num_ad_domains): domain_descriptions.append({ 'type': 'AD', 'hosts': {'ad': 1, 'ad_subdomain': 1}, |
