Skip to content

Commit

Permalink
Add missing test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sabeechen committed Mar 31, 2024
1 parent 93eb7fc commit 8c64950
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hassio-google-drive-backup/tests/test_duration_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def test_format():
assert parser.format(timedelta(seconds=1)) == "1 seconds"
assert parser.format(timedelta(days=5, hours=6, minutes=7)) == "5 days, 6 hours, 7 minutes"
assert parser.format(timedelta(days=5, hours=6, minutes=7, seconds=8)) == "5 days, 6 hours, 7 minutes, 8 seconds"
assert parser.format(timedelta(seconds=1.5)) == "1 seconds, 500 milliseconds"


def test_back_and_forth():
Expand Down

0 comments on commit 8c64950

Please sign in to comment.