diff options
author | Pavel Vomacka <pvomacka@redhat.com> | 2016-10-25 16:53:14 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2017-03-14 10:40:10 +0100 |
commit | ab8c69f4c602c0eaefbb058c108428ca30a80e98 (patch) | |
tree | 70c07382f41d49e50b2cb8ffbb8a3d771bba7a6a /ipatests/test_webui | |
parent | 39d7ef3de4b0345274b4b8e8f6918e3b714879ad (diff) | |
download | freeipa-ab8c69f4c602c0eaefbb058c108428ca30a80e98.tar.gz freeipa-ab8c69f4c602c0eaefbb058c108428ca30a80e98.tar.xz freeipa-ab8c69f4c602c0eaefbb058c108428ca30a80e98.zip |
TESTS: Add support for KRA in ui_driver
https://fedorahosted.org/freeipa/ticket/5426
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipatests/test_webui')
-rw-r--r-- | ipatests/test_webui/ui_driver.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 |