- def test_Day_saving_and_caching(self) -> None:
- """Test .save/.save_core."""
- kwargs = {'date': '2024-01-01', 'comment': 'foo'}
- self.check_saving_and_caching(**kwargs)
-
- def test_Day_from_table_row(self) -> None:
- """Test .from_table_row() properly reads in class from DB"""
- self.check_from_table_row('2024-01-01')
-
- def test_Day_by_id(self) -> None:
- """Test .by_id()."""
- self.check_by_id()
-
- def test_Day_all(self) -> None:
- """Test Day.all(), especially in regards to date range filtering."""