Commit beb7aa1a authored by zhanhuasheng's avatar zhanhuasheng

修改为相对路径

parent edfc773d
...@@ -4,7 +4,7 @@ from Utils.sql_handler import test_env_conn ...@@ -4,7 +4,7 @@ from Utils.sql_handler import test_env_conn
if __name__ == '__main__': if __name__ == '__main__':
try: try:
# pytest.main(['-vs',r'C:\Users\rd71\PycharmProjects\willdesk_api_auto\TestCase\inbox\test_06_channel.py',f'--alluredir=./allureReports/json','--clean-alluredir']) # pytest.main(['-vs',r'C:\Users\rd71\PycharmProjects\willdesk_api_auto\TestCase\inbox\test_06_channel.py',f'--alluredir=./allureReports/json','--clean-alluredir'])
pytest.main(['-vs',r'C:\Users\rd71\PycharmProjects\willdesk_api_auto\TestCase',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告 pytest.main(['-vs','./TestCase',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告
finally: finally:
......
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