Commit fe32ad74 by liangyan10

修正

parent 1269c7dd
...@@ -32,7 +32,7 @@ if __name__ == '__main__': ...@@ -32,7 +32,7 @@ if __name__ == '__main__':
for one in os.listdir('../../report/tmp'): # 列出对应文件夹的数据 for one in os.listdir('../../report/tmp'): # 列出对应文件夹的数据
if 'json' in one: if 'json' in one:
os.remove(f'../../report/tmp/{one}') os.remove(f'../../report/tmp/{one}')
# pytest.main(['test_login55.py', '-s', '--alluredir', '../../report/tmp']) # pytest.main(['test_login.py', '-s', '--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