Fixed test after 6e9639446

This commit is contained in:
Andrej730
2023-10-19 10:55:13 +05:00
parent 8c73fa69a1
commit 162ac39570
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -316,6 +316,7 @@ class Drawing:
def is_drawing_active(cls): pass
def is_editing_sheets(cls): pass
def move_file(cls, src, dest): pass
def open_layout_svg(cls, uri): pass
def open_spreadsheet(cls, uri): pass
def open_svg(cls, filepath): pass
def remove_literal_from_annotation(cls, obj, literal): pass
+1 -1
View File
@@ -140,7 +140,7 @@ class TestAddSheet:
class TestOpenSheet:
def test_run(self, drawing):
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")