mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: Add missing certificate profile fixture
https://fedorahosted.org/freeipa/ticket/5630 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
2ce8921fe6
commit
87ee451c7d
@ -11,11 +11,20 @@ import pytest
|
||||
from ipalib import errors
|
||||
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
|
||||
|
||||
# reuse the fixture
|
||||
from ipatests.test_xmlrpc.tracker.certprofile_plugin import CertprofileTracker
|
||||
from ipatests.test_xmlrpc.tracker.caacl_plugin import CAACLTracker
|
||||
from ipatests.test_xmlrpc.tracker.stageuser_plugin import StageUserTracker
|
||||
|
||||
|
||||
@pytest.fixture(scope='class')
|
||||
def default_profile(request):
|
||||
name = 'caIPAserviceCert'
|
||||
desc = u'Standard profile for network services'
|
||||
tracker = CertprofileTracker(name, store=True, desc=desc)
|
||||
tracker.track_create()
|
||||
return tracker
|
||||
|
||||
|
||||
@pytest.fixture(scope='class')
|
||||
def default_acl(request):
|
||||
name = u'hosts_services_caIPAserviceCert'
|
||||
|
Loading…
Reference in New Issue
Block a user