Skip to content

Commit

Permalink
Subtitle is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
jingcheng16 committed Dec 9, 2024
1 parent 9ef91be commit 4a2728f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions corehq/apps/enterprise/tests/test_enterprise.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def test_constructor_with_no_datespan_defaults_to_last_30_days(self):

self.assertEqual(report.datespan.startdate, datetime(month=9, day=1, year=2024))
self.assertEqual(report.datespan.enddate, datetime(month=10, day=1, year=2024))
self.assertEqual(report.subtitle, 'past 30 days')

def test_constructor_with_provided_dates_uses_that_datespan(self):
start_date = datetime(month=11, day=25, year=2023)
Expand All @@ -155,7 +154,6 @@ def test_constructor_with_provided_dates_uses_that_datespan(self):

self.assertEqual(report.datespan.startdate, start_date)
self.assertEqual(report.datespan.enddate, end_date)
self.assertEqual(report.subtitle, '2023-11-25 to 2023-12-15')

def test_constructor_with_only_end_date_uses_default_num_days(self):
end_date = datetime(month=10, day=1, year=2020)
Expand Down

0 comments on commit 4a2728f

Please sign in to comment.