示例#1
0
 def setUpClass(cls):
     logger.info('准备测试前置!')
     cls.http_request = http_request.HttpRequest2()
     cls.mysql = do_mysql.DoMysql()
示例#2
0
 def tearDownClass(cls):
     logger.info('测试后置处理!')
     cls.mysql.close()
     cls.http_request.close()
示例#3
0
 def setUpClass(cls):
     logger.info('准备测试前置!')
     cls.http_request = http_request.HttpRequest2()