def test_to_period_for_quarter_four_in_first_round(self): result = self.fdc_round.to_period_for_quarter(4) expected = period.Period('20151001000000', '20151231235959') self.assertEquals(result, expected)
def test_to_period_for_quarter_four_in_second_round(self): result = self.fdc_round.to_period_for_quarter(4) expected = period.Period('20160401000000', '20160630235959') self.assertEquals(result, expected)
def test_to_period_for_quarter_three_in_first_round(self): result = self.fdc_round.to_period_for_quarter(3) expected = period.Period('20150701000000', '20150930235959') self.assertEquals(result, expected)
def test_to_period_for_quarter_three_in_second_round(self): result = self.fdc_round.to_period_for_quarter(3) expected = period.Period('20160101000000', '20160331235959') self.assertEquals(result, expected)