mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
fix tests after 4e48c35425
This commit is contained in:
@@ -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())"
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user