mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix failing tests from refactor which I really should've done before the release
This commit is contained in:
@@ -22,7 +22,7 @@ import ifcopenshell.api
|
||||
|
||||
class TestAddSIUnit(test.bootstrap.IFC4):
|
||||
def test_run(self):
|
||||
unit = ifcopenshell.api.run("unit.add_si_unit", self.file, unit_type="LENGTHUNIT", name="METRE", prefix="MILLI")
|
||||
unit = ifcopenshell.api.run("unit.add_si_unit", self.file, unit_type="LENGTHUNIT", prefix="MILLI")
|
||||
assert unit.UnitType == "LENGTHUNIT"
|
||||
assert unit.Name == "METRE"
|
||||
assert unit.Prefix == "MILLI"
|
||||
|
||||
Reference in New Issue
Block a user