mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 20:32:25 +00:00
Fix #1956. One-button upgrade from IFC2X3 to IFC4.
This commit is contained in:
@@ -60,7 +60,9 @@ class TestEditTextProduct:
|
||||
def test_run(self, ifc, drawing):
|
||||
ifc.get_entity("obj").should_be_called().will_return("element")
|
||||
drawing.get_text_product("element").should_be_called().will_return("existing_product")
|
||||
ifc.run("drawing.unassign_product", relating_product="existing_product", related_object="element").should_be_called()
|
||||
ifc.run(
|
||||
"drawing.unassign_product", relating_product="existing_product", related_object="element"
|
||||
).should_be_called()
|
||||
ifc.run("drawing.assign_product", relating_product="product", related_object="element").should_be_called()
|
||||
drawing.update_text_value("obj").should_be_called()
|
||||
drawing.disable_editing_text_product("obj").should_be_called()
|
||||
|
||||
Reference in New Issue
Block a user