def test_get_notify_list(self): """Test checks to insure that Thingles is a subscriber of WikiApiary.""" task = SendWeeklyReport() userlist = task.get_notify_list('WikiApiary') if 'Thingles' not in userlist: raise Exception( 'Thingles not found as a subscriber for WikiApiary.')
def test_get_notify_list_nosite(self): """Test checks to insure that Thingles is a subscriber of WikiApiary.""" task = SendWeeklyReport() userlist = task.get_notify_list('There is no website named this') assert len(userlist) == 0
def test_get_notify_list(self): """Test checks to insure that Thingles is a subscriber of WikiApiary.""" task = SendWeeklyReport() userlist = task.get_notify_list('WikiApiary') if 'Thingles' not in userlist: raise Exception('Thingles not found as a subscriber for WikiApiary.')