aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2021-05-16 19:58:39 +0100
committerMatthew Lemon <matt@matthewlemon.com>2021-05-16 19:58:39 +0100
commita3025ff72dc89a3a26dab359da8f41769bab3b97 (patch)
treeaed0b70bb8600f5d1dbcab966f1cc97b0acf0438
parent9d7422e112214a3b76ba97b08d3090545d0dfd2c (diff)
more test cases for Month
-rw-r--r--datamaps/tests/test_api.py3
1 files changed, 3 insertions, 0 deletions
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():