def test_filter(self):
        wilson = self.finance.candidates.filter("Wilson")
        url = "http://api.nytimes.com/svc/elections/us/v3/finances/2012/candidates/search.json?api-key=%s&query=Wilson" % API_KEY
        self.check_response(wilson, url)
dataset/ETHPy150Open NYTimes/nytcampfin/test.py/CandidateTest.test_filter/original