No need to specify SI unit names as they can be derived from the unit type

This commit is contained in:
Dion Moult
2023-01-05 17:16:46 +11:00
parent 70b7f1424f
commit cb92be2b08
4 changed files with 8 additions and 21 deletions
-6
View File
@@ -148,12 +148,6 @@ class TestGetSceneUnitSIPrefix:
assert subject.get_scene_unit_si_prefix() is None
class TestGetSINameFromUnitType:
def test_run(self):
for key, value in ifcopenshell.util.unit.si_type_names.items():
assert subject.get_si_name_from_unit_type(key) == value
class TestImportUnitAttributes(NewFile):
def test_importing_derived_units(self):
ifc = ifcopenshell.file()