mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 04:37:56 +00:00
Minor fix
This commit is contained in:
@@ -158,7 +158,7 @@ def step_impl(context, id, predefined_type):
|
|||||||
return
|
return
|
||||||
if element.PredefinedType == 'USERDEFINED' and element.ObjectType == 'predefined_type':
|
if element.PredefinedType == 'USERDEFINED' and element.ObjectType == 'predefined_type':
|
||||||
return
|
return
|
||||||
assert False, 'The element {} has a predefined type of {} and an object type of instead of {}.'.format(element, element.PredefinedType, element.ObjectType, predefined_type)
|
assert False, 'The element {} has a predefined type of {} and an object type of {} instead of {}.'.format(element, element.PredefinedType, element.ObjectType, predefined_type)
|
||||||
|
|
||||||
|
|
||||||
@step('The element {id} should not exist because {reason}')
|
@step('The element {id} should not exist because {reason}')
|
||||||
|
|||||||
Reference in New Issue
Block a user