def test_candidates(self):
        candidates = self.finance.president.candidates()
        url = "http://api.nytimes.com/svc/elections/us/v3/finances/2012/president/totals.json?api-key=%s" % API_KEY
        self.check_response(candidates, url)
dataset/ETHPy150Open NYTimes/nytcampfin/test.py/PresidentTest.test_candidates/original