fix tests after 4e48c35425

This commit is contained in:
Andrej730
2024-08-22 18:08:00 +05:00
parent 7ea60742d6
commit cabffdc549
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -347,7 +347,7 @@ Scenario: Remove pset - multiple objects
Scenario: Edit pset length property
Given an empty IFC project
And I press "mesh.add_clever_stair"
And I press "mesh.add_stair"
And the variable "pset" is "tool.Pset.get_element_pset(tool.Ifc.get_entity(bpy.context.active_object), 'Pset_StairFlightCommon').id()"
And the variable "si_conversion" is "ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())"
And I press "bim.enable_pset_editing(pset_id={pset}, obj='IfcStairFlight/StairFlight', obj_type='Object')"
@@ -379,7 +379,7 @@ Scenario: Edit pset length property
Scenario: Edit qset length property
Given an empty IFC project
And I press "mesh.add_clever_stair"
And I press "mesh.add_stair"
And I press "bim.perform_quantity_take_off"
And the variable "pset" is "tool.Pset.get_element_pset(tool.Ifc.get_entity(bpy.context.active_object), 'Qto_StairFlightBaseQuantities').id()"
And the variable "si_conversion" is "ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())"
+1 -1
View File
@@ -139,7 +139,7 @@ class TestStairCalculatedParams(NewFile):
def test_run(self):
bpy.ops.bim.create_project()
bpy.ops.mesh.add_clever_stair()
bpy.ops.mesh.add_stair()
pset_data_base = {
"number_of_treads": 3,
"height": 1.0,