From 6ec5e5fec6bb2b1d8b556779a1309ed1295508b7 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 24 Jul 2013 13:24:02 +0200 Subject: 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 --- ipatests/test_webui/test_hostgroup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipatests/test_webui/test_hostgroup.py') 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]) -- cgit