From bf3d9cb7cd6d9990ad1e24adeb047343ef215e0d Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期三, 24 七月 2024 09:12:42 +0800
Subject: [PATCH] 测评系统自动测试

---
 main.py |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/main.py b/main.py
index fa7772c..c469250 100644
--- a/main.py
+++ b/main.py
@@ -1,11 +1,8 @@
-import time
-
 import pytest
-import pytest_html
-
+import os
 
 def run_testcases():
-    pytest.main(['-vs', '--html=report/report.html', 'testcase'])
+    pytest.main(['-vs', '--html=report/report.html', 'testcase/test_main.py'])
 
 
 if __name__ == '__main__':

--
Gitblit v1.9.1