conftest.py 533 Bytes
Newer Older
chBis committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName:   test63
# FileName:      conftest.py
# Author:       lao_zhao
# Datetime:     2024/11/5 15:40
# Description:
# 
# ---------------------------------------------------------------------------
import pytest

from APIAutoTest_v3_1.requests_method.requests_method import RequestsMethod



@pytest.fixture(scope="session")
def req_fix():
    """创建RequestsMethod类型对象"""
    req = RequestsMethod()
    yield req