def test_get_table_data(self):
     self.logger.debug("\n*******************************************************************************")
     self.logger.debug("\nTest table data for: world_borders")
     self.logger.debug("\n*******************************************************************************")
     cartodbApi = CartoDBApi(cartodb_user, api_key, is_multiuser)
     cartodbApi.fetchContent.connect(self.signalsObject.cb_show_table_data)
     cartodbApi.getDataFromTable("SELECT * FROM world_borders LIMIT 10")
Exemple #2
0
 def test_get_table_data(self):
     self.logger.debug("\n*******************************************************************************")
     self.logger.debug('\nTest table data for: world_borders')
     self.logger.debug("\n*******************************************************************************")
     cartodbApi = CartoDBApi(cartodb_user, api_key, is_multiuser)
     cartodbApi.fetchContent.connect(self.signalsObject.cb_show_table_data)
     cartodbApi.getDataFromTable('SELECT * FROM world_borders LIMIT 10')