summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_host.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-09-26 18:22:22 +0200
committerMartin Basti <mbasti@redhat.com>2016-09-27 13:35:58 +0200
commit9d83be3647547cfca4e129cfeb63771213232cf7 (patch)
tree0899bfbc662355dd8d1318b5e6d4909c5aaa993c /ipatests/test_webui/test_host.py
parent0f88f8fe889ae4801fc8d5ece1ad51c5246718ac (diff)
downloadfreeipa-9d83be3647547cfca4e129cfeb63771213232cf7.tar.gz
freeipa-9d83be3647547cfca4e129cfeb63771213232cf7.tar.xz
freeipa-9d83be3647547cfca4e129cfeb63771213232cf7.zip
Remove unused variables in tests
This commit removes or marks unused variables as "expected to be unused" by using '_' prefix. Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_host.py')
-rw-r--r--ipatests/test_webui/test_host.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py
index a87d50989..0fced0423 100644
--- a/ipatests/test_webui/test_host.py
+++ b/ipatests/test_webui/test_host.py
@@ -134,7 +134,6 @@ class test_host(host_tasks):
self.init_app()
# ENHANCEMENT: generate csr dynamically
csr = self.load_file(csr_path)
- realm = self.config.get('ipa_realm')
cert_widget_sel = "div.certificate-widget"
self.add_record(ENTITY, self.data)
@@ -229,7 +228,6 @@ class test_host(host_tasks):
self.init_app()
cert = self.load_file(cert_path)
- realm = self.config.get('ipa_realm')
self.add_record(ENTITY, self.data)
self.navigate_to_record(self.pkey)