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/test_integration | |
| 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/test_integration')
| -rw-r--r-- | ipatests/test_integration/tasks.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 6c26626f2..7c9622769 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -44,8 +44,6 @@ from ipalib.util import get_reverse_zone_default, verify_host_resolvable from ipalib.constants import DOMAIN_SUFFIX_NAME from ipalib.constants import DOMAIN_LEVEL_0 -# pylint: disable=unused-variable - log = log_mgr.get_logger(__name__) @@ -156,7 +154,6 @@ def backup_file(host, filename): host.run_command('echo %s >> %s' % ( ipautil.shell_quote(filename), ipautil.shell_quote(rmname))) - contents = host.get_file_contents(rmname) host.transport.mkdir_recursive(os.path.dirname(rmname)) return False @@ -980,7 +977,7 @@ def double_circle_topo(master, replicas, site_size=6): yield a, b # create agreement to one server in two next sites - for (c, d, _ignore) in [sites[(i+n) % num_sites] for n in [1, 2]]: + for c, _d, _ignore in [sites[(i+n) % num_sites] for n in [1, 2]]: yield b, c if site_size > 2: @@ -1023,7 +1020,6 @@ def install_clients(servers, clients): def _entries_to_ldif(entries): """Format LDAP entries as LDIF""" - lines = [] io = StringIO() writer = LDIFWriter(io) for entry in entries: |
