Loading

摘要: 1 import pytest 2 source:https://www.cnblogs.com/yoyoketang/p/9492132.html 3 4 # 测试账号数据 5 test_user_data = [{"user": "admin1", "psw": "111111"}, 6 {"u 阅读全文
posted @ 2020-05-16 01:32 Tester-Dolores 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1 import pytest 2 source:https://github.com/pytest-dev/pytest/blob/master/doc/en/fixture.rst 3 4 @pytest.fixture(params=[0, 1, pytest.param(2, marks=p 阅读全文
posted @ 2020-05-16 01:22 Tester-Dolores 阅读(49) 评论(0) 推荐(0) 编辑