mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
fix redeclarations in tests
This commit is contained in:
@@ -60,5 +60,5 @@ class TestEditContext(test.bootstrap.IFC4):
|
||||
assert subcontext.UserDefinedTargetView == "UserDefinedTargetView"
|
||||
|
||||
|
||||
class TestEditContext(test.bootstrap.IFC2X3, TestEditContext):
|
||||
class TestEditContextIFC2X3(test.bootstrap.IFC2X3, TestEditContext):
|
||||
pass
|
||||
|
||||
@@ -37,5 +37,5 @@ class TestRemoveCostSchedule(test.bootstrap.IFC4):
|
||||
assert not self.file.by_type("IfcRelAssignsToControl")
|
||||
|
||||
|
||||
class TestRemoveCostSchedule(test.bootstrap.IFC2X3, TestRemoveCostSchedule):
|
||||
class TestRemoveCostScheduleIFC2X3(test.bootstrap.IFC2X3, TestRemoveCostSchedule):
|
||||
pass
|
||||
|
||||
@@ -284,7 +284,7 @@ class TestTemporarySupportForDeprecatedAPIArguments(test.bootstrap.IFC4):
|
||||
assert rel.is_a("IfcRelReferencedInSpatialStructure")
|
||||
|
||||
@deprecation_check
|
||||
def test_removing_a_container(self):
|
||||
def test_removing_a_structure(self):
|
||||
element = ifcopenshell.api.run("root.create_entity", self.file, ifc_class="IfcBuilding")
|
||||
subelement = ifcopenshell.api.run("root.create_entity", self.file, ifc_class="IfcWall")
|
||||
ifcopenshell.api.run(
|
||||
|
||||
Reference in New Issue
Block a user