>From 567a6a4d9e38c661ab7380b2609171681dc7815b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 24 Jul 2015 15:13:01 +0200 Subject: [PATCH 7/8] test_memory_cache: Add test for initgroups mc with fq names --- src/tests/intg/test_memory_cache.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/intg/test_memory_cache.py b/src/tests/intg/test_memory_cache.py index e5311d4558198106979e41af81f446dc0bcbdd7b..4a67101abb560dbe364d8f03f6520029f1f7d44f 100644 --- a/src/tests/intg/test_memory_cache.py +++ b/src/tests/intg/test_memory_cache.py @@ -394,3 +394,9 @@ def test_initgroups_with_mc(ldap_conn, sanity_rfc2307): test_initgroups(ldap_conn, sanity_rfc2307) stop_sssd() test_initgroups(ldap_conn, sanity_rfc2307) + + +def test_initgroups_fqname_with_mc(ldap_conn, sanity_rfc2307): + assert_initgroups_equal('user1@LDAP', [2000, 2001]) + stop_sssd() + assert_initgroups_equal('user1', [2000, 2001]) -- 2.4.3