def test_send_notification(self): """Send a test notification to Thingles.""" test_site = 'WikiApiary' task = SendWeeklyReport() message_body = task.generate_weekly_report(test_site) task.send_notification('Thingles', "[Unittest] Weekly Report for %s" % test_site, message_body)
def test_send_notification(self): """Send a test notification to Thingles.""" test_site = 'WikiApiary' task = SendWeeklyReport() message_body = task.generate_weekly_report(test_site) task.send_notification( 'Thingles', "[Unittest] Weekly Report for %s" % test_site, message_body )