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>
This commit is contained in:
Petr Vobornik 2015-05-06 12:26:18 +02:00
parent 91b39acd6b
commit 5fadee969c
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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)