def test_contributions_to_candidate(self):
        contributions = self.finance.committees.contributions_to_candidate("C00007450", "H0PA12132")
        url = "http://api.nytimes.com/svc/elections/us/v3/finances/2012/committees/C00007450/contributions/candidates/H0PA12132.json?api-key=%s" % API_KEY
        self.check_response(contributions, url)
dataset/ETHPy150Open NYTimes/nytcampfin/test.py/CommitteeTest.test_contributions_to_candidate/original