Commit 3382d38b by fanxun

Merge remote-tracking branch 'origin/master'

parents 891eed17 f580d316
...@@ -126,6 +126,6 @@ if __name__ == '__main__': ...@@ -126,6 +126,6 @@ if __name__ == '__main__':
for one in os.listdir('../../report/tmp'): # 列出对应文件夹的数据 '-m','scoreDetail' , for one in os.listdir('../../report/tmp'): # 列出对应文件夹的数据 '-m','scoreDetail' ,
if 'json' in one: if 'json' in one:
os.remove(f'../../report/tmp/{one}') os.remove(f'../../report/tmp/{one}')
pytest.main(['test_ ElectronicLicense.py', '-s','-m','scoreDetail' , '--alluredir','../../report/tmp']) pytest.main(['test_ ElectronicLicense.py', '-s', '-m','scoreDetail' ,'--alluredir','../../report/tmp'])
# 启动默认浏览器打开报告 # 启动默认浏览器打开报告
os.system('allure serve ../../report/tmp') os.system('allure serve ../../report/tmp')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment