From 432232a8ce9fcd2ecb1fe4d4caad14fd0c10229d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 17 Mar 2024 05:05:49 +0100 Subject: [PATCH] Add Day.all() date ranging test. --- tests/test_days.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_days.py b/tests/test_days.py index 8f5f267..86be2ef 100644 --- a/tests/test_days.py +++ b/tests/test_days.py @@ -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')), -- 2.30.2