general/ci: mypy check tests

This commit is contained in:
Dima Gerasimov 2023-02-20 23:57:31 +00:00 committed by karlicoss
parent c63177e186
commit 07e7c62d02
7 changed files with 37 additions and 14 deletions

View file

@ -4,7 +4,7 @@ from datetime import date, time
# todo private test.. move away
def test_tz() -> None:
from my.jawbone import sleeps_by_date
from my.jawbone import sleeps_by_date # type: ignore[attr-defined]
sleeps = sleeps_by_date()
for s in sleeps.values():
assert s.sleep_start.tzinfo is not None