コード例 #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)