From 5d79745e88947e9fd91468698bacb042cd0719d2 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Wed, 3 Apr 2019 18:47:13 +0200
Subject: [PATCH] ipareplica_test: Deactivate adtrust_imported and kra_imported
 tests

These test are failing because there is no adtrust_imported and
kra_imported setting yet in ansible_ipa_replica.
---
 roles/ipareplica/library/ipareplica_test.py | 26 ++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/roles/ipareplica/library/ipareplica_test.py b/roles/ipareplica/library/ipareplica_test.py
index 8ff391f2..7687e59a 100644
--- a/roles/ipareplica/library/ipareplica_test.py
+++ b/roles/ipareplica/library/ipareplica_test.py
@@ -159,19 +159,19 @@ def main():
 
     # version specific tests #
 
-    if options.setup_adtrust and not adtrust_imported:
-        #if "adtrust" not in options._allow_missing:
-        ansible_module.fail_json(msg="adtrust can not be imported")
-        #else:
-        #  options.setup_adtrust = False
-        #  ansible_module.warn(msg="adtrust is not supported, disabling")
-
-    if options.setup_kra and not kra_imported:
-        #if "kra" not in options._allow_missing:
-        ansible_module.fail_json(msg="kra can not be imported")
-        #else:
-        #  options.setup_kra = False
-        #  ansible_module.warn(msg="kra is not supported, disabling")
+    #if options.setup_adtrust and not adtrust_imported:
+    #    #if "adtrust" not in options._allow_missing:
+    #    ansible_module.fail_json(msg="adtrust can not be imported")
+    #    #else:
+    #    #  options.setup_adtrust = False
+    #    #  ansible_module.warn(msg="adtrust is not supported, disabling")
+
+    #if options.setup_kra and not kra_imported:
+    #    #if "kra" not in options._allow_missing:
+    #    ansible_module.fail_json(msg="kra can not be imported")
+    #    #else:
+    #    #  options.setup_kra = False
+    #    #  ansible_module.warn(msg="kra is not supported, disabling")
 
     # From ipa installer classes
 
-- 
GitLab