mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
bonsai: restore descriptive name for test_copy_with_new_geometry_copied_from_the_old
The underlying bug (has_material_styles bypassing the tool layer) was
already fixed by e76455913, which added the required mock expectation
here, but left the test under its quarantine placeholder name
test_AAAAAAAAAAAA. Restore the real name now that it genuinely passes.
This commit is contained in:
@@ -40,8 +40,7 @@ class TestCopyClass:
|
|||||||
collector.assign("obj").should_be_called()
|
collector.assign("obj").should_be_called()
|
||||||
subject.copy_class(ifc, collector, geometry, root, obj="obj")
|
subject.copy_class(ifc, collector, geometry, root, obj="obj")
|
||||||
|
|
||||||
# def test_copy_with_new_geometry_copied_from_the_old(self, ifc, collector, geometry, root):
|
def test_copy_with_new_geometry_copied_from_the_old(self, ifc, collector, geometry, root):
|
||||||
def test_AAAAAAAAAAAA(self, ifc, collector, geometry, root):
|
|
||||||
ifc.get_entity("obj").should_be_called().will_return("original_element")
|
ifc.get_entity("obj").should_be_called().will_return("original_element")
|
||||||
root.is_element_a("original_element", "IfcRelSpaceBoundary").should_be_called().will_return(False)
|
root.is_element_a("original_element", "IfcRelSpaceBoundary").should_be_called().will_return(False)
|
||||||
root.get_object_representation("obj").should_be_called().will_return("representation")
|
root.get_object_representation("obj").should_be_called().will_return("representation")
|
||||||
|
|||||||
Reference in New Issue
Block a user