mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 05:52:33 +00:00
Removing sheets now works in IFC. See #1153.
This commit is contained in:
@@ -117,3 +117,10 @@ class TestOpenSheet:
|
||||
drawing.get_sheet_filename("sheet").should_be_called().will_return("filename")
|
||||
drawing.open_svg("filename").should_be_called()
|
||||
subject.open_sheet(drawing, sheet="sheet")
|
||||
|
||||
|
||||
class TestRemoveSheet:
|
||||
def test_run(self, ifc, drawing):
|
||||
ifc.run("document.remove_document", document="sheet").should_be_called()
|
||||
drawing.import_sheets().should_be_called()
|
||||
subject.remove_sheet(ifc, drawing, sheet="sheet")
|
||||
|
||||
Reference in New Issue
Block a user