diff --git a/unittests/test_yaml_model_parser.py b/unittests/test_yaml_model_parser.py index a9f072b754618e38237cbf70e74c7944551f1045..625e609e806c6eae9cb5fbacd347076dfd5053bc 100644 --- a/unittests/test_yaml_model_parser.py +++ b/unittests/test_yaml_model_parser.py @@ -474,3 +474,22 @@ F: """ with raises(NotImplementedError): entities = parse_model_from_string(model) + + + +def test_double_property_value(): + """ + Test whether it is possible to define a property, use it in a record + and assign a value for the property in the record. + + This currently fails. + """ + model = """ +prop: + datatype: INTEGER +rec: + obligatory_properties: + prop: + value: 2 +""" + entities = parse_model_from_string(model)