摘要: 1、查看版本 import pytest print(pytest.__version__) 运行结果:8.4.1 print(pytest.version_tuple) 运行结果:(8, 4, 1) 2、常用函数 pytest.skip 方法1: # 使用带有可选 skip 装饰器标记,该装饰器可 阅读全文
posted @ 2025-08-15 17:31 Alieen617 阅读(11) 评论(0) 推荐(0)
摘要: 官方文档地址:https://requests.readthedocs.io/projects/cn/zh-cn/latest/user/quickstart.html#id4 1、导入 import requests 2、发送http请求 # get请求 payload = {'key1': 'v 阅读全文
posted @ 2025-08-15 14:51 Alieen617 阅读(4) 评论(0) 推荐(0)