Add break-related tests

This commit is contained in:
2025-10-17 10:58:06 -06:00
parent 5b58c6e8ea
commit 6b2421e55c

View File

@@ -59,3 +59,11 @@ class TestClass():
assert formatted_callouts.__class__ is str assert formatted_callouts.__class__ is str
# TODO write tests for the break addition/removal # TODO write tests for the break addition/removal
def test_add_break(self) -> None:
today: datetime.date = datetime.date.today()
new_break = self.DATABASE_CONN.add_break(user_id=1, break_start=today, break_end=today)
assert new_break is None
def test_remove_break(self) -> None:
today: datetime.date = datetime.date.today()