This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user