From 6f2eb0a116e62dd1dbaeac4ab4c33c2bd79f0c5b Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 30 Jul 2024 19:31:35 +0500 Subject: [PATCH] fix bim tests after a156864 --- src/blenderbim/test/bim/feature/geometry.feature | 2 +- src/blenderbim/test/bim/feature/model.feature | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/blenderbim/test/bim/feature/geometry.feature b/src/blenderbim/test/bim/feature/geometry.feature index 8e7d81b3ee..6adf076219 100644 --- a/src/blenderbim/test/bim/feature/geometry.feature +++ b/src/blenderbim/test/bim/feature/geometry.feature @@ -451,7 +451,7 @@ Scenario: Override duplicate move - copying objects with connection And the object "IfcWall/Wall" dimensions are "1,0.1,3" And the object "IfcWall/Wall" bottom left corner is at "0,0,0" When I set "scene.BIMModelProperties.ifc_class" to "IfcSlabType" - And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR150'][0].id()" + And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR200'][0].id()" And I set "scene.BIMModelProperties.relating_type_id" to "{element_type}" When I press "bim.add_constr_type_instance" Then the object "IfcSlab/Slab" is an "IfcSlab" diff --git a/src/blenderbim/test/bim/feature/model.feature b/src/blenderbim/test/bim/feature/model.feature index bf9208b012..61deacda6e 100644 --- a/src/blenderbim/test/bim/feature/model.feature +++ b/src/blenderbim/test/bim/feature/model.feature @@ -272,7 +272,7 @@ Scenario: Add a slab Given an empty IFC project And I load the demo construction library And I set "scene.BIMModelProperties.ifc_class" to "IfcSlabType" - And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR150'][0].id()" + And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR200'][0].id()" And I set "scene.BIMModelProperties.relating_type_id" to "{element_type}" When I press "bim.hotkey(hotkey='S_A')" Then the object "IfcSlab/Slab" is an "IfcSlab" @@ -284,7 +284,7 @@ Scenario: Enable editing a slab profile Given an empty IFC project And I load the demo construction library And I set "scene.BIMModelProperties.ifc_class" to "IfcSlabType" - And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR150'][0].id()" + And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR200'][0].id()" And I set "scene.BIMModelProperties.relating_type_id" to "{element_type}" And I press "bim.hotkey(hotkey='S_A')" And the object "IfcSlab/Slab" is selected @@ -297,7 +297,7 @@ Scenario: Disable editing a slab profile Given an empty IFC project And I load the demo construction library And I set "scene.BIMModelProperties.ifc_class" to "IfcSlabType" - And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR150'][0].id()" + And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR200'][0].id()" And I set "scene.BIMModelProperties.relating_type_id" to "{element_type}" And I press "bim.hotkey(hotkey='S_A')" And the object "IfcSlab/Slab" is selected @@ -311,7 +311,7 @@ Scenario: Edit a slab profile Given an empty IFC project And I load the demo construction library And I set "scene.BIMModelProperties.ifc_class" to "IfcSlabType" - And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR150'][0].id()" + And the variable "element_type" is "[e for e in {ifc}.by_type('IfcSlabType') if e.Name == 'FLR200'][0].id()" And I set "scene.BIMModelProperties.relating_type_id" to "{element_type}" And I press "bim.hotkey(hotkey='S_A')" And the object "IfcSlab/Slab" is selected