def METHOD_NAME(self):
    date_class = datetime.date
    with patch('datetime.date') as date_patch:
        date_patch.today.return_value = self.first_performance
        date_patch.side_effect = lambda *args, **kwargs: date_class(*args, **kwargs)
        start_date, end_date = get_daterange_start_end_dates('lastn', days=-14)  # In two weeks' time
        self.assertEqual(start_date, datetime.date(year=1829, month=8, day=17))
        self.assertEqual(end_date, self.first_performance)
        # TODO: If the start date occurs after the end date, we should switch them.