X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=tests%2Fdays.py;h=36d0285296b7b191e4217475a08fb94646ed5207;hb=c021152e6566c8374170de916c69d6b5c816cd54;hp=02b6c22a3851c03f0ff6cf8a2a47186768589679;hpb=25b71c6f0b10db05907128daf50c6e543e514c35;p=plomtask diff --git a/tests/days.py b/tests/days.py index 02b6c22..36d0285 100644 --- a/tests/days.py +++ b/tests/days.py @@ -44,15 +44,6 @@ class TestsWithDB(TestCaseWithDB): checked_class = Day default_ids = ('2024-01-01', '2024-01-02', '2024-01-03') - def test_saving_and_caching(self) -> None: - """Test storage of instances. - - We don't use the parent class's method here because the checked class - has too different a handling of IDs. - """ - kwargs = {'date': self.default_ids[0], 'comment': 'foo'} - self.check_saving_and_caching(**kwargs) - def test_Day_by_date_range_filled(self) -> None: """Test Day.by_date_range_filled.""" date1, date2, date3 = self.default_ids @@ -91,10 +82,6 @@ class TestsWithDB(TestCaseWithDB): '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)."""