From ba1a7b97c192221af8f4823b82ea1bcf9a2b491c Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 9 Sep 2020 16:26:56 +0300 Subject: [PATCH] ipa-kdb: test kadmin.local getprincs command Fixes: https://pagure.io/freeipa/issue/8490 Signed-off-by: Alexander Bokovoy Reviewed-By: Rob Crittenden --- ipatests/test_ipaserver/test_kadmin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ipatests/test_ipaserver/test_kadmin.py b/ipatests/test_ipaserver/test_kadmin.py index 5ef565cc1..ab32f6c3f 100644 --- a/ipatests/test_ipaserver/test_kadmin.py +++ b/ipatests/test_ipaserver/test_kadmin.py @@ -123,3 +123,9 @@ class TestKadmin: installutils.create_keytab, keytab, service) + + def test_getprincs(self): + """ + tests that kadmin.local getprincs command returns a list of principals + """ + self.assert_success(installutils.kadmin, 'getprincs')