summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_host.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-08-15 15:49:27 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-08-22 15:23:56 +0200
commit8e8afe0519c1d47994e155a3c72b2bdc934a9695 (patch)
tree3757db7220b85577630b2c39baab935932698050 /ipatests/test_webui/test_host.py
parente61c2e34411ad1713086813e938b09a464c4ffa6 (diff)
downloadfreeipa-8e8afe0519c1d47994e155a3c72b2bdc934a9695.tar.gz
freeipa-8e8afe0519c1d47994e155a3c72b2bdc934a9695.tar.xz
freeipa-8e8afe0519c1d47994e155a3c72b2bdc934a9695.zip
Web UI integration tests: CA-less
Test cases according to: http://www.freeipa.org/page/V3/CA-less_install https://fedorahosted.org/freeipa/ticket/3830
Diffstat (limited to 'ipatests/test_webui/test_host.py')
-rw-r--r--ipatests/test_webui/test_host.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/ipatests/test_webui/test_host.py b/ipatests/test_webui/test_host.py
index 962ffb170..806f2b104 100644
--- a/ipatests/test_webui/test_host.py
+++ b/ipatests/test_webui/test_host.py
@@ -175,6 +175,29 @@ class test_host(host_tasks):
self.navigate_to_entity(ENTITY, 'search')
self.delete_record(self.pkey, self.data.get('del'))
+ def test_ca_less(self):
+ """
+ Test host certificate actions in CA-less install
+ http://www.freeipa.org/page/V3/CA-less_install
+ """
+ if self.has_ca():
+ self.skip('CA is installed')
+
+ self.init_app()
+ self.add_record(ENTITY, self.data)
+ self.navigate_to_record(self.pkey)
+
+ panel = 'cert_actions'
+ self.assert_action_panel_action(panel, 'request_cert', visible=False)
+ self.assert_action_panel_action(panel, 'revoke_cert', visible=False)
+ self.assert_action_panel_action(panel, 'restore_cert', visible=False)
+
+ self.assert_action_panel_action(panel, 'view_cert', enabled=False)
+ self.assert_action_panel_action(panel, 'get_cert', enabled=False)
+
+ self.navigate_by_breadcrumb('Hosts')
+ self.delete_record(self.pkey, self.data.get('del'))
+
def test_associations(self):
"""
Host direct associations