def test_Reports_categorized_report_includes_tags(self): rp = Reports(self.tw, style='categorized') txt = StringIO() rp.weekly_report(txt, '*****@*****.**', 'me') self.assertIn('Time spent in each area', txt.getvalue()) txt = StringIO() rp.monthly_report(txt, '*****@*****.**', 'me') self.assertIn('Time spent in each area', txt.getvalue())
def test_Reports_monthly_report_includes_tags(self): rp = Reports(self.tw) txt = StringIO() rp.monthly_report(txt, '*****@*****.**', 'me') self.assertIn('Time spent in each area', txt.getvalue())