def test_pepperjam_download(self): apikey = '' path = 'http://api.pepperjamnetwork.com/20120402/publisher/creative/product/' path = path + '?apiKey=' + apikey + '&format=csv&programIds=6486' downloader = ApiDownloader() result = downloader.download(path) self.assertEqual('downloads/', result)
def test_googlefeed_download(self): path = 'https://www.joefresh.com/ca/feeds/GoogleProductsUS' downloader = ApiDownloader() result = downloader.download(path) self.assertEqual('downloads/GoogleProductsUS', result)
def test_dailylook_download(self): path = 'https://www.dailylook.com/product.xml' downloader = ApiDownloader() result = downloader.download(path) self.assertEqual('downloads/product.xml', result)