See #2978. Fix crash upon drawing deletion.

This commit is contained in:
Dion Moult
2023-04-14 09:36:51 +10:00
parent 019c9d89e4
commit c852678437
2 changed files with 6 additions and 7 deletions
-1
View File
@@ -356,7 +356,6 @@ class TestRemoveDrawing:
drawing.does_file_exist("absolute_uri").should_be_called().will_return(True)
drawing.delete_file("absolute_uri").should_be_called()
ifc.run("document.remove_information", information="information").should_be_called()
ifc.run("root.remove_product", product="drawing").should_be_called()
drawing.import_drawings().should_be_called()
subject.remove_drawing(ifc, drawing, drawing="drawing")