示例#1
0
文件: tests.py 项目: josuebrunel/myql
 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)
示例#2
0
文件: tests.py 项目: kounkou/myql
 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)
示例#3
0
文件: tests.py 项目: josuebrunel/myql
 def test_desc(self,):
     response = self.yql.desc('weather.forecast')
     logging.debug(prettyfy(response, 'json'))
     self.assertEqual(response.status_code, 200)
示例#4
0
文件: tests.py 项目: kounkou/myql
 def test_desc(self, ):
     response = self.yql.desc('weather.forecast')
     logging.debug(prettyfy(response, 'json'))
     self.assertEqual(response.status_code, 200)