fix redeclarations in tests

This commit is contained in:
Andrej730
2024-06-07 16:29:52 +05:00
parent 4078140079
commit f8a5ce34a8
3 changed files with 3 additions and 3 deletions
@@ -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
+1 -1
View File
@@ -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(