URL: https://github.com/freeipa/freeipa/pull/4324 Author: mrizwan93 Title: #4324: ipatests:Test if schema-compat-entry-attribute is set Action: opened
PR body: """ This is to ensure if said entry is set after installation. related: https://pagure.io/freeipa/issue/8193 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/4324/head:pr4324 git checkout pr4324
From 0edf90da9daa7f2780df4612a6801c918c9621e1 Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf <myu...@redhat.com> Date: Mon, 9 Mar 2020 12:49:01 +0530 Subject: [PATCH] Test if schema-compat-entry-attribute is set This is to ensure if said entry is set after installation. related: https://pagure.io/freeipa/issue/8193 Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> --- ipatests/test_integration/test_adtrust_install.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ipatests/test_integration/test_adtrust_install.py b/ipatests/test_integration/test_adtrust_install.py index b3dbc0683f..27e3456840 100644 --- a/ipatests/test_integration/test_adtrust_install.py +++ b/ipatests/test_integration/test_adtrust_install.py @@ -199,3 +199,13 @@ def test_add_agent_on_running_replica_with_compat(self): entry = conn.get_entry(DN( "cn=groups,cn=Schema Compatibility,cn=plugins,cn=config")) assert entry.single_value['schema-compat-lookup-nsswitch'] == "group" + + """Test if schema-compat-entry-attribute is set + + This is to ensure if said entry is set after installation. + + related: https://pagure.io/freeipa/issue/8193 + """ + value = (r'ipaexternalmember=%deref_r(' + '"member","ipaexternalmember")') + assert entry.single_value['schema-compat-entry-attribute'] == value
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org