mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
black .
This commit is contained in:
@@ -21,7 +21,7 @@ import test.bootstrap
|
|||||||
import ifcopenshell.util.date as subject
|
import ifcopenshell.util.date as subject
|
||||||
|
|
||||||
|
|
||||||
class TestReadableIFCDuration():
|
class TestReadableIFCDuration:
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
assert subject.readable_ifc_duration("P0Y0M1DT16H0M0S") == "1D 16h"
|
assert subject.readable_ifc_duration("P0Y0M1DT16H0M0S") == "1D 16h"
|
||||||
assert subject.readable_ifc_duration("P2Y3M1W4DT5H45M30S") == "2Y 3M 1W 4D 5h 45m 30s"
|
assert subject.readable_ifc_duration("P2Y3M1W4DT5H45M30S") == "2Y 3M 1W 4D 5h 45m 30s"
|
||||||
|
|||||||
Reference in New Issue
Block a user