mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix reassign_class on IFC4X3, use ValueError
Use ValueError to make it more specific
This commit is contained in:
@@ -197,6 +197,10 @@ class TestReassignClass(test.bootstrap.IFC4):
|
||||
assert len(self.file.by_type("IfcSlab")) == 1
|
||||
|
||||
|
||||
class TestReassignClassIFC4X3(test.bootstrap.IFC4X3, TestReassignClass):
|
||||
pass
|
||||
|
||||
|
||||
class TestReassignClassIFC2X3(test.bootstrap.IFC2X3, TestReassignClass):
|
||||
def test_providing_occurrence_class(self):
|
||||
element_type = ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcWallType")
|
||||
|
||||
Reference in New Issue
Block a user