Commit ae228c15 authored by zhanhuasheng's avatar zhanhuasheng

修改路径

parent 820c61d3
...@@ -5,7 +5,7 @@ from Utils.sql_handler import test_env_conn ...@@ -5,7 +5,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','./TestCase/setting/test_01_emailIntegration.py',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告 pytest.main(['-vs','./TestCase',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告
finally: finally:
test_env_conn.close_db() #关闭数据库链接 test_env_conn.close_db() #关闭数据库链接
......
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