上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 32 下一页
摘要: import os a = os.path.join("/test1", "/test2") print(a) b = os.path.join("/test1", "test2") print(b) 输出:/test2 /test1/test2 使用os.path.join第二个参数的首个字符如果 阅读全文
posted @ 2020-05-06 15:01 悠然现南山 阅读(2376) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/yoyoketang/p/12004145.html 阅读全文
posted @ 2020-04-28 10:02 悠然现南山 阅读(158) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/181095.htm 阅读全文
posted @ 2020-04-28 09:32 悠然现南山 阅读(234) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/yonglin/p/7041423.html 阅读全文
posted @ 2020-04-27 15:03 悠然现南山 阅读(1248) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/linuxchao/p/linuxchao-pytest-report.html 阅读全文
posted @ 2020-04-27 10:38 悠然现南山 阅读(145) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/bubblelone/article/details/83955978 https://jingyan.baidu.com/article/425e69e69425f2ff15fc16fe.html 阅读全文
posted @ 2020-04-24 00:36 悠然现南山 阅读(722) 评论(0) 推荐(0)
摘要: #coding=utf-8 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as 阅读全文
posted @ 2020-04-23 17:06 悠然现南山 阅读(769) 评论(0) 推荐(0)
摘要: 写在conftest.py文件中,参考链接:https://blog.csdn.net/xiao_feng77/article/details/103902230 #coding:utf-8 from selenium import webdriver import pytest driver = 阅读全文
posted @ 2020-04-23 13:47 悠然现南山 阅读(1278) 评论(0) 推荐(0)
摘要: https://jingyan.baidu.com/article/2a1383289d7792074b134f69.html 阅读全文
posted @ 2020-04-20 10:56 悠然现南山 阅读(569) 评论(0) 推荐(0)
摘要: #coding:utf-8 import os cmd = "pytest -v -m \"not webtest\"" os.system(cmd) 通过os.system执行cmd命令(pytest -v -m "not webtest"),因为cmd命令中有双引号,随意要加转义符\ 阅读全文
posted @ 2020-04-17 15:25 悠然现南山 阅读(2178) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 32 下一页