From 12345b14acc0783193ea1be76e6fd800a6fac260 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 10 Aug 2020 14:38:46 +1000 Subject: [PATCH] Minor fix --- src/ifcbimtester/features/steps/project_setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ifcbimtester/features/steps/project_setup.py b/src/ifcbimtester/features/steps/project_setup.py index 984e57ca98..eb627033a2 100644 --- a/src/ifcbimtester/features/steps/project_setup.py +++ b/src/ifcbimtester/features/steps/project_setup.py @@ -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)