Revize 9896ec36
Přidáno uživatelem Stanislav Král před téměř 4 roky(ů)
tests/integration_tests/services/conftest.py | ||
---|---|---|
69 | 69 |
|
70 | 70 |
|
71 | 71 |
@pytest.fixture |
72 |
def cryptography_service_unique(): |
|
73 |
return CryptographyService() |
|
74 |
|
|
75 |
|
|
76 |
@pytest.fixture |
|
77 |
def private_key_service_unique(private_key_repository_unique, cryptography_service_unique): |
|
78 |
return KeyService(cryptography_service_unique, private_key_repository_unique) |
|
72 |
def private_key_service_unique(private_key_repository_unique, cryptography_service): |
|
73 |
return KeyService(cryptography_service, private_key_repository_unique) |
|
79 | 74 |
|
80 | 75 |
|
81 | 76 |
@pytest.fixture |
82 |
def certificate_service_unique(certificate_repository_unique, cryptography_service_unique, configuration):
|
|
83 |
return CertificateService(cryptography_service_unique, certificate_repository_unique, configuration)
|
|
77 |
def certificate_service_unique(certificate_repository_unique, cryptography_service, configuration): |
|
78 |
return CertificateService(cryptography_service, certificate_repository_unique, configuration) |
|
84 | 79 |
|
85 | 80 |
|
86 | 81 |
@pytest.fixture |
Také k dispozici: Unified diff
Re #8575 - Removed a useless CryptographyService fixture