摘要: ssh(" mkdir C:\\test\\viruss") 1.报错信息如下:unable to execute command or shell on remote system : failed to execute process 根据官网查阅: 在脚本命令执行之前 cmd/c 换成 ssh 阅读全文
posted @ 2021-09-27 16:14 Morgen会蝎子摆尾 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 1.pytest中默认按照字母顺序执行测试用例 2.前置和后置模块 def setup_model(): print("用例执行前执行") def teardown_model(): print("用例执行完后执行") 3.在测试方法上添加装饰器 安装 :pip install pytest-ord 阅读全文
posted @ 2021-09-27 13:56 Morgen会蝎子摆尾 阅读(85) 评论(0) 推荐(0) 编辑
摘要: subprocess.Popen 阅读全文
posted @ 2021-09-27 13:54 Morgen会蝎子摆尾 阅读(37) 评论(0) 推荐(0) 编辑