From ab8c69f4c602c0eaefbb058c108428ca30a80e98 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Tue, 25 Oct 2016 16:53:14 +0200 Subject: TESTS: Add support for KRA in ui_driver https://fedorahosted.org/freeipa/ticket/5426 Reviewed-By: Martin Basti Reviewed-By: Petr Vobornik --- ipatests/test_webui/ui_driver.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index 4ce3668de..62dcced08 100644 --- a/ipatests/test_webui/ui_driver.py +++ b/ipatests/test_webui/ui_driver.py @@ -69,6 +69,7 @@ ENV_MAP = { 'IPA_NO_CA': 'no_ca', 'IPA_NO_DNS': 'no_dns', 'IPA_HAS_TRUSTS': 'has_trusts', + 'IPA_HAS_KRA': 'has_kra', 'IPA_HOST_CSR_PATH': 'host_csr_path', 'IPA_SERVICE_CSR_PATH': 'service_csr_path', 'AD_DOMAIN': 'ad_domain', @@ -283,6 +284,12 @@ class UI_driver(object): """ return self.config.get('has_trusts') + def has_kra(self): + """ + FreeIPA server was installed with Kra. + """ + return self.config.get('has_kra') + def has_active_request(self): """ Check if there is running AJAX request -- cgit