diff --git a/src/molecule/test/unit/model/v2/test_dependency_section.py b/src/molecule/test/unit/model/v2/test_dependency_section.py index 9d61586578..e453a3b21f 100644 --- a/src/molecule/test/unit/model/v2/test_dependency_section.py +++ b/src/molecule/test/unit/model/v2/test_dependency_section.py @@ -49,7 +49,7 @@ def _model_dependency_errors_section_data(): "_config", ["_model_dependency_errors_section_data"], indirect=True ) def test_dependency_has_errors(_config): - x = ["Unevaluated properties are not allowed ('name' was unexpected)"] + x = ["0 is not one of ['galaxy', 'shell']"] assert x == schema_v3.validate(_config) @@ -85,6 +85,6 @@ def _model_dependency_shell_errors_section_data(): "_config", ["_model_dependency_shell_errors_section_data"], indirect=True ) def test_dependency_shell_has_errors(_config): - x = ["Unevaluated properties are not allowed ('command' was unexpected)"] + x = ["None is not of type 'string'"] assert x == schema_v3.validate(_config)