Skip to content
Snippets Groups Projects
Commit e613db9a authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST(yaml-model-parser): updated test to new behavior

parent f2bfc455
No related branches found
No related tags found
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!115add datatype, unit and description to properties that are part of Records
Pipeline #57815 passed with warnings
......@@ -44,7 +44,10 @@ RT1:
"""
model_recursive = parse_model_from_string(model_recursive_str)
prop1 = model_recursive["RT1"].get_property("RT1")
assert prop1.datatype is None
assert prop1.datatype is not None
assert prop1.datatype == "RT1"
# TODO The next line actually changes model_recursive in place, is this OK?
RT1 = model_recursive.get_deep("RT1")
assert model_recursive["RT1"] == RT1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment