コード例 #1
0
def unrecognised_subject_dn_attrs_subca(request):
    name = u'crud-subca-3'
    subject = u'CN=crud subca test,DN=example.com,O=crud testing inc'
    tracker = CATracker(name, subject)

    # Should not get created, no need to delete
    return tracker
コード例 #2
0
def subject_conflict_subca(request):
    name = u'crud-subca-2'
    subject = u'CN=crud subca test,O=crud testing inc'
    tracker = CATracker(name, subject)

    # Should not get created, no need to delete
    return tracker
コード例 #3
0
def santest_subca(request):
    name = u'default-profile-subca'
    subject = u'CN={},O=test'.format(name)
    tr = CATracker(name, subject)
    return tr.make_fixture(request)
コード例 #4
0
def smime_signing_ca(request):
    name = u'smime-signing-ca'
    subject = u'CN=SMIME CA,O=test industries Inc.'
    return CATracker(name, subject).make_fixture(request)
コード例 #5
0
def santest_subca(request):
    name = u'default-profile-subca'
    subject = u'CN={},O=test'.format(name)
    tr = CATracker(name, subject)
    return tr.make_fixture(request)
コード例 #6
0
def crud_subca(request):
    name = u'crud-subca'
    subject = u'CN=crud subca test,O=crud testing inc'
    tracker = CATracker(name, subject)

    return tracker.make_fixture(request)
コード例 #7
0
def default_ca(request):
    name = u'ipa'
    desc = u'IPA CA'
    tracker = CATracker(name, fuzzy_issuer, desc=desc)
    tracker.track_create()
    return tracker
コード例 #8
0
ファイル: test_caacl_plugin.py プロジェクト: zpytela/freeipa
def caacl_test_ca(request, xmlrpc_setup):
    name = u'caacl-test-ca'
    subject = u'CN=caacl test subca,O=test industries inc.'
    return CATracker(name, subject).make_fixture(request)
コード例 #9
0
def crud_subca(request, xmlrpc_setup):
    name = u'crud-subca'
    subject = u'CN=crud subca test,O=crud testing inc'
    tracker = CATracker(name, subject, auto_disable_for_delete=False)

    return tracker.make_fixture(request)
コード例 #10
0
ファイル: test_ca_plugin.py プロジェクト: LiptonB/freeipa
def crud_subca(request):
    name = u'crud-subca'
    subject = u'CN=crud subca test,O=crud testing inc'
    tracker = CATracker(name, subject)

    return tracker.make_fixture(request)
コード例 #11
0
ファイル: test_ca_plugin.py プロジェクト: LiptonB/freeipa
def default_ca(request):
    name = u'ipa'
    desc = u'IPA CA'
    tracker = CATracker(name, fuzzy_issuer, desc=desc)
    tracker.track_create()
    return tracker