summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-05-06 12:26:18 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-05-12 12:47:45 +0200
commit5fadee969cae3b66b986fb9e28fdbf3bb5ec2f60 (patch)
tree0144d4ef8b53fe2ffc34594fb410a8902a47c1ce /ipatests
parent91b39acd6bca1a1054220291f4b4a0a4118e829c (diff)
downloadfreeipa-5fadee969cae3b66b986fb9e28fdbf3bb5ec2f60.tar.gz
freeipa-5fadee969cae3b66b986fb9e28fdbf3bb5ec2f60.tar.xz
freeipa-5fadee969cae3b66b986fb9e28fdbf3bb5ec2f60.zip
webui-ci: fix type error in host_tasks inicializations
host_tasks initializations were not modified along with pytest migration Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_webui/test_selinuxusermap.py3
-rw-r--r--ipatests/test_webui/test_sudo.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/ipatests/test_webui/test_selinuxusermap.py b/ipatests/test_webui/test_selinuxusermap.py
index 385b8dd06..65f7f33dd 100644
--- a/ipatests/test_webui/test_selinuxusermap.py
+++ b/ipatests/test_webui/test_selinuxusermap.py
@@ -58,7 +58,8 @@ class test_selinuxusermap(UI_driver):
Mod: selinuxusermap
"""
self.init_app()
- host = host_tasks(self.driver, self.config)
+ host = host_tasks()
+ host.setup(self.driver, self.config)
self.add_record(user.ENTITY, user.DATA)
self.add_record(user.ENTITY, user.DATA2, navigate=False)
diff --git a/ipatests/test_webui/test_sudo.py b/ipatests/test_webui/test_sudo.py
index 94e0892b0..ab484a09e 100644
--- a/ipatests/test_webui/test_sudo.py
+++ b/ipatests/test_webui/test_sudo.py
@@ -50,7 +50,8 @@ class test_sudo(UI_driver):
Mod: sudo
"""
self.init_app()
- host = host_tasks(self.driver, self.config)
+ host = host_tasks()
+ host.setup(self.driver, self.config)
self.add_record(netgroup.ENTITY, netgroup.DATA2)