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