forked from rc/aircox
Feat: packaging (#127)
- Add configuration files for packaging - Precommit now uses ruff Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: rc/aircox#127
This commit is contained in:
@ -29,9 +29,7 @@ def test_date_or_default():
|
||||
|
||||
def test_to_timedelta():
|
||||
val = datetime(2023, 1, 10, hour=20, minute=10, second=1)
|
||||
assert utils.to_timedelta(val) == timedelta(
|
||||
hours=20, minutes=10, seconds=1
|
||||
)
|
||||
assert utils.to_timedelta(val) == timedelta(hours=20, minutes=10, seconds=1)
|
||||
|
||||
|
||||
def test_to_seconds():
|
||||
|
Reference in New Issue
Block a user