【发布时间】:2019-12-30 16:18:57
【问题描述】:
在终端中,我设置 www 站点和路径来为我的测试创建报告。
我设置:
MY_URL=mysite:myport REPORTPA=./mypath/mysecondfolder/ pytest -s testFile.py --html=REPORTPA/report.html
我应该保存report.html,我尝试这样的解决方案:
$REPORTPA/report.html or
%REPORTPA/report.html
而且效果不好。如何使用我的变量?
【问题讨论】:
标签: python