Update tests/test_utils_readable.py
Run CI Tests / test (push) Successful in 1m39s

This commit is contained in:
2025-08-04 15:28:01 +02:00
parent a71f7968cb
commit c5a7e0b874
+2 -6
View File
@@ -17,8 +17,7 @@ from slic.utils.readable import readable_seconds
(90.6, "91 seconds"),
(121.9, "2 minutes"),
(1296000.0, "15 days"),
(2332800.0, "27 days"),
(1296000.0, "2 weeks"),
(2592000.0, "4 weeks"),
(2800000.0, "5 weeks"),
(3888000.0, "6 weeks"),
@@ -36,9 +35,6 @@ from slic.utils.readable import readable_seconds
(64208000.0, "2 years"),
])
def test_readable_seconds(seconds, expected):
assert readable_seconds(seconds) == expected
def test_rounding_cases(seconds, expected):
assert readable_seconds(seconds) == expected