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:
1 parent
06468b2f60
commit
4a5a0fe7d2
1 file changed
+6
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user