mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Minor fix
This commit is contained in:
@@ -27,6 +27,11 @@ def step_impl(context, reason):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@step('The project must have an identifier of {guid}')
|
||||||
|
def step_impl(context, guid):
|
||||||
|
assert_attribute(IfcFile.get().by_type('IfcProject')[0], 'GlobalId', guid)
|
||||||
|
|
||||||
|
|
||||||
@step('The project name, code, or short identifier must be "{value}"')
|
@step('The project name, code, or short identifier must be "{value}"')
|
||||||
def step_impl(context, value):
|
def step_impl(context, value):
|
||||||
assert_attribute(IfcFile.get().by_type('IfcProject')[0], 'Name', value)
|
assert_attribute(IfcFile.get().by_type('IfcProject')[0], 'Name', value)
|
||||||
|
|||||||
Reference in New Issue
Block a user