Subordinate -> Intermediate wording
This commit is contained in:
parent
1793859781
commit
29aeb9b298
|
@ -94,7 +94,7 @@
|
||||||
{% if certificate.self_signed %}
|
{% if certificate.self_signed %}
|
||||||
<b>Root</b>
|
<b>Root</b>
|
||||||
{% else %}
|
{% else %}
|
||||||
Subordinate
|
Intermediate
|
||||||
{% endif %} CA
|
{% endif %} CA
|
||||||
<br>{{ certificate.issued_cert_count }} issued certificates
|
<br>{{ certificate.issued_cert_count }} issued certificates
|
||||||
<br>{{ certificate.owner }}
|
<br>{{ certificate.owner }}
|
||||||
|
|
|
@ -1383,6 +1383,8 @@ def test_issued_cert_count_for_authority(authority):
|
||||||
from lemur.tests.factories import CertificateFactory
|
from lemur.tests.factories import CertificateFactory
|
||||||
from lemur.certificates.service import get_issued_cert_count_for_authority
|
from lemur.certificates.service import get_issued_cert_count_for_authority
|
||||||
|
|
||||||
|
assert get_issued_cert_count_for_authority(authority) == 0
|
||||||
|
|
||||||
# create a few certs issued by the authority
|
# create a few certs issued by the authority
|
||||||
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority1")
|
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority1")
|
||||||
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority2")
|
CertificateFactory(authority=authority, name="test_issued_cert_count_for_authority2")
|
||||||
|
|
Loading…
Reference in New Issue