Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 3195e946

Přidáno uživatelem Jan Pašek před více než 3 roky(ů)

Re #8569 Fixed broken tests after injection implementation

Zobrazit rozdíly:

tests/integration_tests/services/conftest.py
47 47
# scope defaults to "function" which means that the fixture is run once per test (function)
48 48
@pytest.fixture
49 49
def certificate_repository(connection, cursor):
50
    return CertificateRepository(connection, cursor)
50
    return CertificateRepository(connection)
51 51

  
52 52

  
53 53
@pytest.fixture
54 54
def private_key_repository(connection, cursor):
55
    return PrivateKeyRepository(connection, cursor)
55
    return PrivateKeyRepository(connection)
56 56

  
57 57

  
58 58
@pytest.fixture
......
105 105
# scope defaults to "function" which means that the fixture is run once per test (function)
106 106
@pytest.fixture
107 107
def certificate_repository_unique(connection_unique, cursor_unique):
108
    return CertificateRepository(connection_unique, cursor_unique)
108
    return CertificateRepository(connection_unique)
109 109

  
110 110

  
111 111
@pytest.fixture
112 112
def private_key_repository_unique(connection_unique, cursor_unique):
113
    return PrivateKeyRepository(connection_unique, cursor_unique)
113
    return PrivateKeyRepository(connection_unique)
114 114

  
115 115

  
116 116
@pytest.fixture

Také k dispozici: Unified diff