add test_helper for improved testing & fix devops_test
parent
63409f03a9
commit
1da73523d9
@ -1,10 +1,9 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
from .test_helper import build_devops
|
||||||
from src.main.python.ddadevops.domain.common import (
|
from src.main.python.ddadevops.domain.common import (
|
||||||
Devops,
|
Devops,
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_devops_buildpath():
|
def test_devops_buildpath():
|
||||||
sut = Devops(
|
sut = build_devops({'module': "cloud", 'name': "meissa"})
|
||||||
stage="test", project_root_path="../../..", module="cloud", name="meissa"
|
|
||||||
)
|
|
||||||
assert "../../../target/meissa/cloud" == sut.build_path()
|
assert "../../../target/meissa/cloud" == sut.build_path()
|
||||||
|
Loading…
Reference in New Issue