summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_netgroup.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-10-10 16:04:05 +0200
committerTomas Babej <tbabej@redhat.com>2014-11-21 12:14:44 +0100
commit82e41dc7a45d4fb3cce18216ef2b8d5daea957b1 (patch)
treecb0f56ee50e3dc78d92eb4690c62682b6a311524 /ipatests/test_webui/test_netgroup.py
parentb64f91fb437a1e05070053ae709903067eb5901d (diff)
downloadfreeipa-82e41dc7a45d4fb3cce18216ef2b8d5daea957b1.tar.gz
freeipa-82e41dc7a45d4fb3cce18216ef2b8d5daea957b1.tar.xz
freeipa-82e41dc7a45d4fb3cce18216ef2b8d5daea957b1.zip
test_webui: Don't use __init__ for test classes
https://fedorahosted.org/freeipa/ticket/4610 Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_netgroup.py')
-rw-r--r--ipatests/test_webui/test_netgroup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_webui/test_netgroup.py b/ipatests/test_webui/test_netgroup.py
index 55333e54b..3dfea0dfa 100644
--- a/ipatests/test_webui/test_netgroup.py
+++ b/ipatests/test_webui/test_netgroup.py
@@ -46,7 +46,8 @@ class test_netgroup(UI_driver):
Mod: netgroup
"""
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)
self.add_record(user.ENTITY, user.DATA)