remember-remember-bot/tests/test_loop.py

9 lines
229 B
Python
Raw Normal View History

from remember_remember_bot.loop import check_new_day, update_day
def test_update_day() -> None:
current_day = 0
assert check_new_day(current_day)
current_day = update_day()
assert not check_new_day(current_day)