mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Minor fix
This commit is contained in:
@@ -27,6 +27,11 @@ def step_impl(context, reason):
|
||||
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}"')
|
||||
def step_impl(context, value):
|
||||
assert_attribute(IfcFile.get().by_type('IfcProject')[0], 'Name', value)
|
||||
|
||||
Reference in New Issue
Block a user