Example #1
0
 def test_show_tables(self,):
     yql = MYQL(format="xml", community=False)
     response = yql.show_tables(format="xml")
     logging.debug(prettyfy(response, "xml"))
     self.assertEqual(response.status_code, 200)
Example #2
0
 def test_desc(self,):
     response = self.yql.desc("weather.forecast")
     logging.debug(prettyfy(response, "json"))
     self.assertEqual(response.status_code, 200)