mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
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:
parent
ec8b26b2c4
commit
05d69c8c32
@ -343,6 +343,12 @@ class TestStagedUser(XMLRPC_test):
|
|||||||
result = command()
|
result = command()
|
||||||
assert result['count'] == 1
|
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
|
@pytest.mark.tier1
|
||||||
class TestCreateInvalidAttributes(XMLRPC_test):
|
class TestCreateInvalidAttributes(XMLRPC_test):
|
||||||
|
Loading…
Reference in New Issue
Block a user