Skip to content

Commit

Permalink
[Bug] Fix failing duration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrimiru committed Apr 9, 2018
1 parent 11e06ed commit dc9237a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hc/front/tests/test_hc_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def test_hc_duration_works(self):
(3660, "1 hour 1 minute"),
(86400, "1 day"),
(604800, "1 week"),
(2419200, "4 weeks"),
(2592000, "30 days"),
(3801600, "44 days")
(2419200, "1 month"),
(14515200, "6 months"),
(29030400, "1 year")
]

for seconds, expected_result in samples:
Expand Down

0 comments on commit dc9237a

Please sign in to comment.