mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
tests: Stageuser-{add,remove}-cert
https://fedorahosted.org/freeipa/ticket/6623 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
7b68cc5b08
commit
c5c98af99d
@ -402,6 +402,25 @@ class TestCertManipCmdUser(CertManipCmdTestBase):
|
||||
cls.default_caacl, **cls.cmd_options['caacl'])
|
||||
|
||||
|
||||
@pytest.mark.tier1
|
||||
class TestCertManipCmdStageuser(CertManipCmdTestBase):
|
||||
entity_class = 'stageuser'
|
||||
entity_pkey = u'suser'
|
||||
entity_subject = entity_pkey
|
||||
entity_principal = u'suser'
|
||||
non_existent_entity = u'nonexistentstageuser'
|
||||
|
||||
cmd_options = dict(
|
||||
entity_add=dict(givenname=u'Stage', sn=u'User'),
|
||||
)
|
||||
|
||||
cert_add_cmd = api.Command.stageuser_add_cert
|
||||
cert_del_cmd = api.Command.stageuser_remove_cert
|
||||
|
||||
cert_add_summary = u'Added certificates to stageuser "%s"'
|
||||
cert_del_summary = u'Removed certificates from stageuser "%s"'
|
||||
|
||||
|
||||
@pytest.mark.tier1
|
||||
class TestCertManipCmdHost(CertManipCmdTestBase):
|
||||
entity_class = 'host'
|
||||
|
Loading…
Reference in New Issue
Block a user