From a4b4cd5b7efb19da1cd1f478e07201dc0f8b9c71 Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期五, 14 七月 2023 17:57:08 +0800 Subject: [PATCH] 测评系统自动测试 --- main.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index bc98d09..2f7595e 100644 --- a/main.py +++ b/main.py @@ -1,10 +1,11 @@ +import time + import pytest import pytest_html -from testcase import test_smoking def run_testcases(): - pytest.main(['-vs', '--html=report/report.html', 'testcase/test_smoking.py']) + pytest.main(['-vs', '--html=report/report.html', 'testcase/test_*.py']) if __name__ == '__main__': -- Gitblit v1.9.1