diff --git a/src/test/python/domain/test_devops_factory.py b/src/test/python/domain/test_devops_factory.py index ceb12a1..b9f4008 100644 --- a/src/test/python/domain/test_devops_factory.py +++ b/src/test/python/domain/test_devops_factory.py @@ -7,7 +7,7 @@ from src.main.python.ddadevops.domain import ( ) -def test_devops_factory(): +def test_devops_creation(): with pytest.raises(Exception): DevopsFactory().build_devops({"build_types": ["NOTEXISTING"]}) @@ -66,3 +66,8 @@ def test_devops_factory(): ) assert sut is not None assert sut.mixins[MixinType.RELEASE] is not None + + +def test_on_merge_input_should_win(): + sut = DevopsFactory() + assert {'tag': 'inp'} == sut.merge(inp = {'tag': 'inp'}, context = {'tag': 'context'}, authorization={})