summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_hostgroup.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-07-24 13:24:02 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-07-26 13:35:12 +0200
commit6ec5e5fec6bb2b1d8b556779a1309ed1295508b7 (patch)
tree126474a34ad61d032cf013c69a7e59da34e0d734 /ipatests/test_webui/test_hostgroup.py
parent8a3d8aeca3bec741f8c23652848075c298bea5f1 (diff)
downloadfreeipa.git-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.tar.gz
freeipa.git-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.tar.xz
freeipa.git-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.zip
Web UI integration tests: PEP8 fixes
Tests modified to comply with PEP8 rules with exception of rule E501 (long lines). Done by autopep8 tool and 2 manual modifications. https://fedorahosted.org/freeipa/ticket/3744
Diffstat (limited to 'ipatests/test_webui/test_hostgroup.py')
-rw-r--r--ipatests/test_webui/test_hostgroup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_webui/test_hostgroup.py b/ipatests/test_webui/test_hostgroup.py
index 6bd239f1..9ba61211 100644
--- a/ipatests/test_webui/test_hostgroup.py
+++ b/ipatests/test_webui/test_hostgroup.py
@@ -29,6 +29,7 @@ import ipatests.test_webui.data_hbac as hbac
import ipatests.test_webui.test_rbac as rbac
import ipatests.test_webui.data_sudo as sudo
+
class test_hostgroup(UI_driver):
def test_crud(self):
@@ -111,7 +112,6 @@ class test_hostgroup(UI_driver):
self.add_associations([hostgroup.PKEY], 'member_hostgroup')
self.add_associations([hostgroup.PKEY5], 'memberof_hostgroup')
-
self.add_record(hbac.RULE_ENTITY, hbac.RULE_DATA)
self.navigate_to_record(hbac.RULE_PKEY)
self.add_table_associations('memberhost_hostgroup', [hostgroup.PKEY4])
@@ -138,4 +138,4 @@ class test_hostgroup(UI_driver):
hostgroup.DATA3, hostgroup.DATA4, hostgroup.DATA5])
self.delete(HOST_ENTITY, [host.data2])
self.delete(hbac.RULE_ENTITY, [hbac.RULE_DATA])
- self.delete(sudo.RULE_ENTITY, [sudo.RULE_DATA]) \ No newline at end of file
+ self.delete(sudo.RULE_ENTITY, [sudo.RULE_DATA])