summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_selinuxusermap.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_webui/test_selinuxusermap.py')
-rw-r--r--ipatests/test_webui/test_selinuxusermap.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/ipatests/test_webui/test_selinuxusermap.py b/ipatests/test_webui/test_selinuxusermap.py
index 39700544..29b9479a 100644
--- a/ipatests/test_webui/test_selinuxusermap.py
+++ b/ipatests/test_webui/test_selinuxusermap.py
@@ -28,18 +28,19 @@ import ipatests.test_webui.data_hostgroup as hostgroup
from ipatests.test_webui.test_host import host_tasks, ENTITY as HOST_ENTITY
ENTITY = 'selinuxusermap'
-PKEY='itest-selinuxusermap'
+PKEY = 'itest-selinuxusermap'
DATA = {
'pkey': PKEY,
'add': [
('textbox', 'cn', PKEY),
- ('textbox', 'ipaselinuxuser','user_u:s0'),
+ ('textbox', 'ipaselinuxuser', 'user_u:s0'),
],
'mod': [
- ('textarea', 'description','itest-selinuxusermap desc'),
+ ('textarea', 'description', 'itest-selinuxusermap desc'),
],
}
+
class test_selinuxusermap(UI_driver):
def test_crud(self):
@@ -69,10 +70,10 @@ class test_selinuxusermap(UI_driver):
self.navigate_to_record(PKEY)
tables = [
- ['memberuser_user', [user.PKEY, user.PKEY2],],
- ['memberuser_group', [group.PKEY, group.PKEY2],],
- ['memberhost_host', [host.pkey, host.pkey2],],
- ['memberhost_hostgroup', [hostgroup.PKEY, hostgroup.PKEY2],],
+ ['memberuser_user', [user.PKEY, user.PKEY2], ],
+ ['memberuser_group', [group.PKEY, group.PKEY2], ],
+ ['memberhost_host', [host.pkey, host.pkey2], ],
+ ['memberhost_hostgroup', [hostgroup.PKEY, hostgroup.PKEY2], ],
]
categories = [
@@ -101,4 +102,4 @@ class test_selinuxusermap(UI_driver):
self.disable_action()
self.enable_action()
- self.delete_action(ENTITY, PKEY) \ No newline at end of file
+ self.delete_action(ENTITY, PKEY)