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