diff --git a/src/ifcbimtester/bimtester/features/steps/model_federation/en.py b/src/ifcbimtester/bimtester/features/steps/model_federation/en.py index c120825d77..e601bac3f0 100644 --- a/src/ifcbimtester/bimtester/features/steps/model_federation/en.py +++ b/src/ifcbimtester/bimtester/features/steps/model_federation/en.py @@ -29,7 +29,7 @@ def get_containing_spatial_elements(element): @step('There is a datum element "{guid}" as an "{ifc_class}"') def step_impl(context, guid, ifc_class): - element = utils.assert_guid(IfcStore.file, guid) + element = util.assert_guid(IfcStore.file, guid) util.assert_type(element, ifc_class) @@ -46,7 +46,7 @@ def step_impl(context, guid, easting, northing, elevation): site = potential_sites[0] else: assert False, _("The datum element does not belong to a geolocated site") - map_conversion = assert_pset(site, "EPset_MapConversion") + map_conversion = util.assert_pset(site, "EPset_MapConversion") else: map_conversion = IfcStore.file.by_type("IfcMapConversion") if map_conversion: @@ -54,7 +54,7 @@ def step_impl(context, guid, easting, northing, elevation): else: assert False, _("No map conversion was found in the file") - element = utils.assert_guid(IfcStore.file, guid) + element = util.assert_guid(IfcStore.file, guid) if not element.ObjectPlacement: assert False, _("The element does not have an object placement: {}").format(element) m = ifcopenshell.util.placement.get_local_placement(element.ObjectPlacement) @@ -81,7 +81,7 @@ def step_impl(context, guid, easting, northing, elevation): @step('The element "{guid}" has a local X, Y, and Z coordinate of "{x}", "{y}", and "{z}" respectively') def step_impl(context, guid, x, y, z): - element = utils.assert_guid(IfcStore.file, guid) + element = util.assert_guid(IfcStore.file, guid) if not element.ObjectPlacement: assert False, _("The element does not have an object placement: {}").format(element) m = ifcopenshell.util.placement.get_local_placement(element.ObjectPlacement) diff --git a/src/ifcbimtester/examples/01_ifcschema_translated/features/de_grundlagen.feature b/src/ifcbimtester/examples/01_ifcschema_translated/features/de_grundlagen.feature index 8b085116b1..89107aca9f 100644 --- a/src/ifcbimtester/examples/01_ifcschema_translated/features/de_grundlagen.feature +++ b/src/ifcbimtester/examples/01_ifcschema_translated/features/de_grundlagen.feature @@ -11,7 +11,7 @@ Szenario: Bereitstellen von IFC-Daten * Die IFC-Daten müssen das "IFC2X3" Schema benutzen - + Szenario: Projektinformationen * Der Name, die Abkürzung oder die Kurzkennung des Projektes ist "BIMTester Example 1 - IFC2X3" diff --git a/src/ifcbimtester/examples/01_ifcschema_translated/features/en_base.feature b/src/ifcbimtester/examples/01_ifcschema_translated/features/en_base.feature index faf443bec3..89239dff15 100644 --- a/src/ifcbimtester/examples/01_ifcschema_translated/features/en_base.feature +++ b/src/ifcbimtester/examples/01_ifcschema_translated/features/en_base.feature @@ -10,8 +10,8 @@ We need an IFC file Scenario: IFC data * IFC data must use the "IFC2X3" schema - - + + Scenario: Project information * The project name, code, or short identifier must be "BIMTester Example 1 - IFC2X3" diff --git a/src/ifcbimtester/examples/01_ifcschema_translated/features/fr_fondamentaux.feature b/src/ifcbimtester/examples/01_ifcschema_translated/features/fr_fondamentaux.feature index e49f822279..9ab829ce8a 100644 --- a/src/ifcbimtester/examples/01_ifcschema_translated/features/fr_fondamentaux.feature +++ b/src/ifcbimtester/examples/01_ifcschema_translated/features/fr_fondamentaux.feature @@ -11,7 +11,7 @@ Scénario: Recevoir e fichier * Les données IFC doivent utiliser le schéma "IFC2X3" - + Scénario: Informations concernant le projet * Nom du projet, son code ou un identifiant sommaire du type "BIMTester Example 1 - IFC2X3" diff --git a/src/ifcbimtester/examples/01_ifcschema_translated/features/nl_grondslag.feature b/src/ifcbimtester/examples/01_ifcschema_translated/features/nl_grondslag.feature index 39fe929873..86bcbff854 100644 --- a/src/ifcbimtester/examples/01_ifcschema_translated/features/nl_grondslag.feature +++ b/src/ifcbimtester/examples/01_ifcschema_translated/features/nl_grondslag.feature @@ -11,7 +11,7 @@ Scenario: Bestand ontvangen * IFC-gegevens moeten het "IFC2X3" -schema gebruiken - - Scenario: Project informatie - + +Scenario: Project informatie + * De projectnaam, code of korte ID moet "BIMTester Example 1 - IFC2X3"