do not ask for gopass password in test

merge-requests/12/head
Michael Jerger 1 year ago
parent 2a4b1880af
commit c591ab5abe

@ -2,7 +2,10 @@ import os
from pybuilder.core import Project
from src.main.python.ddadevops.domain import DnsRecord
from src.main.python.ddadevops.c4k_build import C4kBuild, add_c4k_mixin_config
from .domain.helper import devops_config
from .domain.helper import (
CredentialsApiMock,
devops_config,
)
def test_c4k_build(tmp_path):
@ -24,6 +27,7 @@ def test_c4k_build(tmp_path):
}
),
)
sut.init_service.credentials_api = CredentialsApiMock({})
sut.initialize_build_dir()
assert sut.build_path() == f"{str_tmp_path}/target/name/c4k-test"

Loading…
Cancel
Save