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