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