예제 #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()