X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=tests%2Fdays.py;h=9e12d3ff665550f3fb23bb603e639ce8efbf60ff;hb=ec2996e0036ceec72a1be79cea1166c4ab116582;hp=41bcf9ce11a7db458ed5c03ce2b3f3abf9150722;hpb=5afb47e3aaed921997d11abf88a81602700639f3;p=plomtask diff --git a/tests/days.py b/tests/days.py index 41bcf9c..9e12d3f 100644 --- a/tests/days.py +++ b/tests/days.py @@ -42,8 +42,12 @@ class TestsWithDB(TestCaseWithDB): checked_class = Day default_ids = ('2024-01-01', '2024-01-02', '2024-01-03') - def test_Day_saving_and_caching(self) -> None: - """Test .save/.save_core.""" + 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)