do not ask for gopass password in test
This commit is contained in:
parent
2a4b1880af
commit
c591ab5abe
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue