XMLRPC test: add a test for stageuser-add --user-auth-type

Related: https://pagure.io/freeipa/issue/8909
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2021-07-05 10:22:31 +02:00
parent ec8b26b2c4
commit 05d69c8c32

View File

@ -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):