Fix failing core tests

This commit is contained in:
Dion Moult
2024-10-10 21:36:48 +11:00
parent 10e76a09de
commit c75e2e3fc0
6 changed files with 21 additions and 104 deletions
+1 -2
View File
@@ -58,14 +58,13 @@ class TestRemoveStyle:
def test_removing_a_style(self, ifc, style):
self.remove_a_style_common(ifc, style)
style.is_editing_styles().should_be_called().will_return(False)
subject.remove_style(ifc, style, style="style")
def test_removing_a_style_and_reloading_imported_styles(self, ifc, style):
self.remove_a_style_common(ifc, style)
style.is_editing_styles().should_be_called().will_return(True)
style.import_presentation_styles("style_type").should_be_called()
subject.remove_style(ifc, style, style="style")
subject.remove_style(ifc, style, style="style", reload_styles_ui=True)
class TestUpdateStyleColours: