From 418410b0edb2ef2af40f79fb25a65ee3be4571d5 Mon Sep 17 00:00:00 2001
From: Alexander Schlemmer <alexander.schlemmer@ds.mpg.de>
Date: Thu, 12 May 2022 18:43:56 +0200
Subject: [PATCH] TST: failing test for issue 89

---
 unittests/test_yaml_model_parser.py | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/unittests/test_yaml_model_parser.py b/unittests/test_yaml_model_parser.py
index a9f072b7..625e609e 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)
-- 
GitLab