mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
rename get_elements_using_pset -> get_elements_by_pset for consistency
To be consistent with other get_elements_by_xxx methods.
This commit is contained in:
@@ -266,7 +266,7 @@ class TestGetElementsUsingPset(test.bootstrap.IFC4):
|
||||
element_type = ifcopenshell.api.root.create_entity(self.file, ifc_class="IfcWallType")
|
||||
pset = self.file.create_entity("IfcPropertySet")
|
||||
ifcopenshell.api.pset.assign_pset(self.file, [element, element_type], pset)
|
||||
assert subject.get_elements_using_pset(pset) == {element, element_type}
|
||||
assert subject.get_elements_by_pset(pset) == {element, element_type}
|
||||
|
||||
|
||||
class TestGetElementsUsingPsetIFC2X3(test.bootstrap.IFC2X3, TestGetElementsUsingPset): ...
|
||||
|
||||
Reference in New Issue
Block a user