From 4217e02b06a295c73ca2c93125a565fe0151bce1 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 11 May 2024 11:36:49 +0200 Subject: [PATCH] Update features/steps/thens/relations.py Co-authored-by: Geert Hesselink <54070862+Ghesselink@users.noreply.github.com> --- features/steps/thens/relations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/thens/relations.py b/features/steps/thens/relations.py index f8c719ae..ce70648c 100644 --- a/features/steps/thens/relations.py +++ b/features/steps/thens/relations.py @@ -329,7 +329,7 @@ def schema_has_declaration_name(s): properties = inst.HasProperties for property in properties: if property.Name not in accepted_values['property_names']: - yield ValidationOutcome(inst=inst, expected= {"oneOf": accepted_values['property_names']}, observed = property.Name, severity=OutcomeSeverity.ERROR) + yield ValidationOutcome(inst=inst, expected=accepted_values['property_names'], observed = property.Name, severity=OutcomeSeverity.ERROR) if 'Each associated IfcProperty must be of type according to the property set definitions table' in context.step.name: accepted_property_name_type_map = dict(zip(accepted_values['property_names'], accepted_values['property_types']))