class TestsSansDB(TestCase):
"""Days module tests not requiring DB setup."""
+ legal_ids = ['2024-01-01']
+ illegal_ids = ['foo', '2024-02-30', '2024-02-01 23:00:00']
def test_Day_valid_date(self) -> None:
"""Test Day's date format validation and parsing."""
'today', 'today'),
[today])
- def test_Day_remove(self) -> None:
- """Test .remove() effects on DB and cache."""
- self.check_remove()
-
class TestsWithServer(TestCaseWithServer):
"""Tests against our HTTP server/handler (and database)."""