Revize 7313994f
Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)
tests/integration_tests/services/conftest.py | ||
---|---|---|
10 | 10 |
from src.dao.private_key_repository import PrivateKeyRepository |
11 | 11 |
from src.db.init_queries import SCHEMA_SQL, DEFAULT_VALUES_SQL |
12 | 12 |
from src.services.certificate_service import CertificateService |
13 |
from src.services.crl.crl_service import CrlService |
|
13 | 14 |
from src.services.cryptography import CryptographyService |
14 | 15 |
from src.services.key_service import KeyService |
15 | 16 |
|
... | ... | |
80 | 81 |
@pytest.fixture |
81 | 82 |
def certificate_service_unique(certificate_repository_unique, cryptography_service_unique, configuration): |
82 | 83 |
return CertificateService(cryptography_service_unique, certificate_repository_unique, configuration) |
84 |
|
|
85 |
|
|
86 |
@pytest.fixture |
|
87 |
def crl_service_unique(certificate_repository_unique, cryptography_service): |
|
88 |
return CrlService(certificate_repository_unique, cryptography_service) |
Také k dispozici: Unified diff
Re #8575 - Implemented CrlService that allows the caller to generate a CA database index of revoked certificates
Added an integration test verifying its validity.
Renamed NOT_BEFORE_AFTER_DATE_FORMAT constant to VALID_FROM_TO_DATE_FORMAT in certificate_service.py.
Removed debug print in cryptography.py