Revize 71938dcd
Přidáno uživatelem Michal Seják před téměř 4 roky(ů)
tests/integration_tests/rest_api/conftest.py | ||
---|---|---|
5 | 5 |
from app import app as flask_app |
6 | 6 |
from src.config.configuration import test_configuration_binder |
7 | 7 |
from src.config.connection_provider import ConnectionProvider |
8 |
from src.services.cryptography import CryptographyService |
|
8 | 9 |
|
9 | 10 |
|
10 | 11 |
@pytest.fixture(scope="session") |
... | ... | |
16 | 17 |
flask_app.testing = True |
17 | 18 |
with flask_app.test_client() as s: |
18 | 19 |
yield s |
20 |
|
|
21 |
|
|
22 |
@pytest.fixture(scope="session") |
|
23 |
def cryptography_service(): |
|
24 |
return CryptographyService() |
Také k dispozici: Unified diff
Re #8705 - Added tests, changed usages (dict -> list).