From 05d69c8c325215778645bf8172ce6f8fc746bd1d Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Mon, 5 Jul 2021 10:22:31 +0200 Subject: [PATCH] XMLRPC test: add a test for stageuser-add --user-auth-type Related: https://pagure.io/freeipa/issue/8909 Reviewed-By: Rob Crittenden Reviewed-By: Alexander Bokovoy --- ipatests/test_xmlrpc/test_stageuser_plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ipatests/test_xmlrpc/test_stageuser_plugin.py b/ipatests/test_xmlrpc/test_stageuser_plugin.py index 5586fc607..bc606b093 100644 --- a/ipatests/test_xmlrpc/test_stageuser_plugin.py +++ b/ipatests/test_xmlrpc/test_stageuser_plugin.py @@ -343,6 +343,12 @@ class TestStagedUser(XMLRPC_test): result = command() assert result['count'] == 1 + def test_create_withuserauthtype(self, stageduser): + stageduser.ensure_missing() + command = stageduser.make_create_command( + options={u'ipauserauthtype': u'password'}) + command() + @pytest.mark.tier1 class TestCreateInvalidAttributes(XMLRPC_test):