host_tasks initializations were not modified along with pytest migration
--
Petr Vobornik
From e18bbc01239f90e71a914058284fee3186057723 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Wed, 6 May 2015 12:26:18 +0200
Subject: [PATCH] webui-ci: fix type error in host_tasks inicializations

host_tasks initializations were not modified along with pytest migration
---
 ipatests/test_webui/test_selinuxusermap.py | 3 ++-
 ipatests/test_webui/test_sudo.py           | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ipatests/test_webui/test_selinuxusermap.py b/ipatests/test_webui/test_selinuxusermap.py
index 385b8dd0612af178091164d2416e4adc3a1d3429..65f7f33dd226e002a9b52bc5795381d959d9ce7f 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 94e0892b079dc4f43bce76073e307e3a39dfbeb9..ab484a09e15262d310c673831a13c19edf0000c8 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)
 
-- 
2.1.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to