mirror of https://gitee.com/a529548204/apitest.git
改BUG
This commit is contained in:
parent
b859088310
commit
215b289d88
|
@ -55,8 +55,6 @@ class apiSend(object):
|
|||
logging.info("请求地址:%s" % "" + url)
|
||||
logging.info("请求头: %s" % str(header))
|
||||
logging.info("请求参数: %s" % str(data_random))
|
||||
print(header)
|
||||
print(header.values())
|
||||
if "multipart/form-data" in header.values():
|
||||
with allure.step("POST上传文件"):
|
||||
allure.attach(name="请求地址", body=url)
|
||||
|
|
Loading…
Reference in New Issue