摘要:
在之前的学习中,代码中一直是传入了fixture函数common_driver,又使用了pytest.mark.usefixtures: @pytest.mark.usefixtures("common_driver") def test_welcome(self, common_driver): 阅读全文
posted @ 2020-04-16 15:53
cnhkzyy
阅读(3120)
评论(0)
推荐(0)
摘要:
之前遇到了很多次类似的问题,即pytest加载conftest.py的时候报如下的错误 我的目录结构是这样的: APP_AutoTest/ |- TestCases/ |- __init__.py |- conftest.py |- test_login.py |- test_welcome.py 阅读全文
posted @ 2020-04-16 12:11
cnhkzyy
阅读(2317)
评论(0)
推荐(0)

浙公网安备 33010602011771号