mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 22:02:21 +00:00
Fix #6094. Fix failing core tests.
This commit is contained in:
@@ -50,6 +50,9 @@ class TestAddStyle:
|
||||
|
||||
class TestRemoveStyle:
|
||||
def remove_a_style_common(self, ifc, style):
|
||||
style.is_editing_style().should_be_called().will_return(True)
|
||||
style.get_currently_edited_material().should_be_called().will_return("obj")
|
||||
style.disable_editing().should_be_called()
|
||||
ifc.get_object("style").should_be_called().will_return("obj")
|
||||
ifc.unlink(element="style").should_be_called()
|
||||
ifc.run("style.remove_style", style="style").should_be_called()
|
||||
|
||||
Reference in New Issue
Block a user