From: Christian Heller Date: Sun, 17 Mar 2024 04:05:49 +0000 (+0100) Subject: Add Day.all() date ranging test. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/day_todos?a=commitdiff_plain;h=432232a8ce9fcd2ecb1fe4d4caad14fd0c10229d;p=plomtask Add Day.all() date ranging test. --- 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')),