home · contact · privacy
Extend GET /day?date= test.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 20 Mar 2024 01:39:02 +0000 (02:39 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 20 Mar 2024 01:39:02 +0000 (02:39 +0100)
tests/test_days.py

index 04f667bfb88dbbae58087399dde3aae1daf251a7..d0accbc0d778a429ba2e741061b0fc35c50712c6 100644 (file)
@@ -117,6 +117,8 @@ class TestsWithServer(TestsWithDB):
         conn = HTTPConnection(*self.httpd.server_address)
         conn.request('GET', '/day')
         self.assertEqual(conn.getresponse().status, 200)
+        conn.request('GET', '/day?date=3000-01-01')
+        self.assertEqual(conn.getresponse().status, 200)
         conn.request('GET', '/day?date=FOO')
         self.assertEqual(conn.getresponse().status, 400)