X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=tests%2Fdays.py;h=41bcf9ce11a7db458ed5c03ce2b3f3abf9150722;hb=5afb47e3aaed921997d11abf88a81602700639f3;hp=1f0e55d871b282881dc0fee2f7e2fc91a591d243;hpb=a1d3ef4b42bdac28f20d7f104ff93bf7efa37a30;p=plomtask diff --git a/tests/days.py b/tests/days.py index 1f0e55d..41bcf9c 100644 --- a/tests/days.py +++ b/tests/days.py @@ -96,7 +96,7 @@ class TestsWithDB(TestCaseWithDB): def test_Day_singularity(self) -> None: """Test pointers made for single object keep pointing to it.""" - self.check_singularity('comment', 'boo') + self.check_singularity('day_comment', 'boo') class TestsWithServer(TestCaseWithServer): @@ -115,7 +115,7 @@ class TestsWithServer(TestCaseWithServer): def test_do_POST_day(self) -> None: """Test POST /day.""" - form_data = {'comment': ''} + form_data = {'day_comment': ''} self.check_post(form_data, '/day', 400) self.check_post(form_data, '/day?date=foo', 400) self.check_post(form_data, '/day?date=2024-01-01', 302)