home · contact · privacy
Add Day.all() date ranging test.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 17 Mar 2024 04:05:49 +0000 (05:05 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 17 Mar 2024 04:05:49 +0000 (05:05 +0100)
tests/test_days.py

index 8f5f2678c002034f02a1f036c28b976dd1b589b6..86be2efc37a77760494017fbae1f6965ac3eb964 100644 (file)
@@ -49,6 +49,7 @@ class DayTests(TestCase):
         day2.save(conn)
         day3.save(conn)
         self.assertEqual(Day.all(conn), [day1, day2, day3])
+        self.assertEqual(Day.all(conn, ('', '')), [day1, day2, day3])
         self.assertEqual(Day.all(conn, ('2024-01-01', '2024-01-03')),
                          [day1, day2, day3])
         self.assertEqual(Day.all(conn, ('2024-01-02', '2024-01-03')),