diff --git a/main.py b/main.py index 44c436354477b82b5cab88ed715f9209b1238c4e..06fbf6f806bd56680829ea759cbd5c0cf74e56ca 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ from Utils.sql_handler import test_env_conn if __name__ == '__main__': 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','./TestCase/setting/test_01_emailIntegration.py',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告 + pytest.main(['-vs','./TestCase',f'--html=./report.html']) #allure报告一直生成不了,改用pytest自带报告 finally: test_env_conn.close_db() #关闭数据库链接