From a3025ff72dc89a3a26dab359da8f41769bab3b97 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 16 May 2021 19:58:39 +0100 Subject: more test cases for Month --- datamaps/tests/test_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datamaps/tests/test_api.py b/datamaps/tests/test_api.py index 0ded406..de9e5ed 100644 --- a/datamaps/tests/test_api.py +++ b/datamaps/tests/test_api.py @@ -31,6 +31,9 @@ def test_get_project_data_using_month(master): assert m3.quarter.quarter == 2 assert m4.quarter.quarter == 3 assert m.quarter.end_date == datetime.date(2021, 9, 30) + assert m2.quarter.end_date == datetime.date(2021, 9, 30) + assert m3.quarter.end_date == datetime.date(2021, 9, 30) + assert m4.quarter.end_date == datetime.date(2021, 12, 31) def test_quarter_objects_have_months(): -- cgit v1.2.3