def test_filings_by_form_type(self):
        f2s = self.finance.filings.by_type('F2')
        url = API_KEY % "http://api.nytimes.com/svc/elections/us/v3/finances/2012/filings/types/f2.json?api-key=%s"
        self.check_response(f2s, url)
dataset/ETHPy150Open NYTimes/nytcampfin/test.py/FilingTest.test_filings_by_form_type/swapped operands of `%`