mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
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>
This commit is contained in:
parent
39d7ef3de4
commit
ab8c69f4c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user