This commit is contained in:
Andrej730
2025-04-21 19:00:11 +05:00
parent 426f1b91f2
commit 558bda1aea
@@ -21,7 +21,7 @@ import test.bootstrap
import ifcopenshell.util.date as subject
class TestReadableIFCDuration():
class TestReadableIFCDuration:
def test_run(self):
assert subject.readable_ifc_duration("P0Y0M1DT16H0M0S") == "1D 16h"
assert subject.readable_ifc_duration("P2Y3M1W4DT5H45M30S") == "2Y 3M 1W 4D 5h 45m 30s"