chore(shared): explicit function name time_fromisoformat (#1917)

This commit is contained in:
Jonas L 2022-06-25 17:10:59 +02:00 committed by GitHub
parent 1faf5a724b
commit 6ef941b3f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ from datetime import time
from pytest import approx, mark
from libretime_shared.datetime import (
fromisoformat,
time_fromisoformat,
time_in_milliseconds,
time_in_seconds,
)
@ -27,5 +27,5 @@ def test_time_in_milliseconds():
("00:04:30", time(minute=4, second=30)),
],
)
def test_fromisoformat(payload, expected):
assert fromisoformat(payload) == expected
def test_time_fromisoformat(payload, expected):
assert time_fromisoformat(payload) == expected