Commit d0292893 by shenjiamin

update conftest.py commit2

parent 8efbff2f
# import pytest import pytest
# from APIAutoTest_shen_2 import log_decorator from APIAutoTest_shen_2 import log_decorator
# from APIAutoTest_shen_2.requests_method.requests_method import RequestsMethod from APIAutoTest_shen_2.requests_method.requests_method import RequestsMethod
# @log_decorator @log_decorator
# #用例的自定义固件,一般设置为最高级别 #用例的自定义固件,一般设置为最高级别
# @pytest.fixture(scope="session") @pytest.fixture(scope="session")
# def req_fix1(): def req_fix1():
# #创建RequestsMethod对象 #创建RequestsMethod对象
# req = RequestsMethod() req = RequestsMethod()
# yield req yield req
# req.close() req.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment