mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 08:45:22 +00:00
Fixed test after 6e9639446
This commit is contained in:
@@ -316,6 +316,7 @@ class Drawing:
|
|||||||
def is_drawing_active(cls): pass
|
def is_drawing_active(cls): pass
|
||||||
def is_editing_sheets(cls): pass
|
def is_editing_sheets(cls): pass
|
||||||
def move_file(cls, src, dest): pass
|
def move_file(cls, src, dest): pass
|
||||||
|
def open_layout_svg(cls, uri): pass
|
||||||
def open_spreadsheet(cls, uri): pass
|
def open_spreadsheet(cls, uri): pass
|
||||||
def open_svg(cls, filepath): pass
|
def open_svg(cls, filepath): pass
|
||||||
def remove_literal_from_annotation(cls, obj, literal): pass
|
def remove_literal_from_annotation(cls, obj, literal): pass
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class TestAddSheet:
|
|||||||
class TestOpenSheet:
|
class TestOpenSheet:
|
||||||
def test_run(self, drawing):
|
def test_run(self, drawing):
|
||||||
drawing.get_document_uri("sheet", "LAYOUT").should_be_called().will_return("uri")
|
drawing.get_document_uri("sheet", "LAYOUT").should_be_called().will_return("uri")
|
||||||
drawing.open_svg("uri").should_be_called()
|
drawing.open_layout_svg("uri").should_be_called()
|
||||||
subject.open_sheet(drawing, sheet="sheet")
|
subject.open_sheet(drawing, sheet="sheet")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user