Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test64
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenjiamin
test64
Commits
8efbff2f
Commit
8efbff2f
authored
Jan 02, 2025
by
shenjiamin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update conftest.py commit
parent
9b5e26af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
APIAutoTest_shen_2/test_case/test_user_zs/conftest.py
+11
-11
No files found.
APIAutoTest_shen_2/test_case/test_user_zs/conftest.py
View file @
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()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment