Skip to content

Commit

Permalink
Update features/steps/thens/relations.py
Browse files Browse the repository at this point in the history
Co-authored-by: Geert Hesselink <54070862+Ghesselink@users.noreply.github.com>
  • Loading branch information
aothms and Ghesselink committed May 11, 2024
1 parent d61f836 commit 4217e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/steps/thens/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']))
Expand Down

0 comments on commit 4217e02

Please sign in to comment.