mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
ifc2x3 tests
removed part of test_append_two_type_products_sharing_the_same_material_indirectly_via_a_material_set for ifc2x3 compatibility and removed part is already tested in test_append_two_type_products_sharing_the_same_material_with_properties
This commit is contained in:
@@ -37,3 +37,7 @@ class TestAssignLayer(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run("layer.assign_layer", self.file, items=items[2:], layer=layer)
|
||||
assert len(layer.AssignedItems) == 4
|
||||
assert set(layer.AssignedItems) == set(items)
|
||||
|
||||
|
||||
class TestAssignLayerIFC2X3(test.bootstrap.IFC2X3, TestAssignLayer):
|
||||
pass
|
||||
|
||||
@@ -37,3 +37,7 @@ class TestUnassignLayer(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run("layer.assign_layer", self.file, items=items, layer=layer)
|
||||
ifcopenshell.api.run("layer.unassign_layer", self.file, items=items, layer=layer)
|
||||
assert not self.file.by_type("IfcPresentationLayerAssignment")
|
||||
|
||||
|
||||
class TestUnassignLayerIFC2X3(test.bootstrap.IFC2X3, TestUnassignLayer):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user