Skip to content

Commit

Permalink
display 'schema_identifier' rather than 'entity'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghesselink committed Nov 14, 2024
1 parent 42d13d0 commit 9001865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/steps/validation_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def expected_behave_output(context: Context, data: Any, is_observed : bool = Fal
return context.step.name
case str():
if context.config.userdata.get("purepythonparser", False):
return {'entity': data}
return {'schema_identifier': data}
elif data in [x.name() for x in ifcopenshell.ifcopenshell_wrapper.schema_by_name(context.model.schema).entities()]:
return {'entity': data} # e.g. 'the type must be IfcCompositeCurve'
else:
Expand Down

0 comments on commit 9001865

Please sign in to comment.