Commit f2be5e82 authored by 邓莹莹's avatar 邓莹莹

提交合并代码

parent 4095d8b2
......@@ -84,7 +84,8 @@ class BaseRequest:
# user_headers = req.get('headers')
# else:
# user_headers = self.read_header()
r = requests.request(
s = requests.session()
r = s.request(
req['method'],
url=host['develop_host']['url'] + req['url'],
params=req.get('params'),
......
......@@ -5,6 +5,7 @@ import path_setting
@pytest.fixture()
def login():
self.data = self.api_load(path_setting.APYAML_CONFIG)
pass
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