def test_race_totals(self):
        races = self.finance.indexp.race_totals("president")
        url = "http://api.nytimes.com/svc/elections/us/v3/finances/2012/independent_expenditures/race_totals/president.json?api-key=%s" % API_KEY
        self.check_response(races, url)
dataset/ETHPy150Open NYTimes/nytcampfin/test.py/IndependentExpenditureTest.test_race_totals/original