From 204169e8cae389613ea35c4ec3a0c89998679e70 Mon Sep 17 00:00:00 2001 From: yj <2077506045@qq.com> Date: 星期四, 25 七月 2024 11:19:42 +0800 Subject: [PATCH] 测评系统自动测试 --- main.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index bc98d09..c469250 100644 --- a/main.py +++ b/main.py @@ -1,10 +1,8 @@ import pytest -import pytest_html -from testcase import test_smoking - +import os def run_testcases(): - pytest.main(['-vs', '--html=report/report.html', 'testcase/test_smoking.py']) + pytest.main(['-vs', '--html=report/report.html', 'testcase/test_main.py']) if __name__ == '__main__': -- Gitblit v1.9.1