def test_download_file(self): self.logger.debug("\n*******************************************************************************") self.logger.debug("\nTest download table data for: world_borders") self.logger.debug("\n*******************************************************************************") cartodbApi = CartoDBApi(cartodb_user, api_key, is_multiuser) cartodbApi.fetchContent.connect(self.signalsObject.cb_download_file) cartodbApi.download("SELECT * FROM world_borders LIMIT 10")
def test_download_file(self): self.logger.debug("\n*******************************************************************************") self.logger.debug('\nTest download table data for: world_borders') self.logger.debug("\n*******************************************************************************") cartodbApi = CartoDBApi(cartodb_user, api_key, is_multiuser) cartodbApi.fetchContent.connect(self.signalsObject.cb_download_file) cartodbApi.download('SELECT * FROM world_borders LIMIT 10')