generated from Java-2025Fall/final-vibevault-template
写死test_groups.json的绝对路径
This commit is contained in:
parent
d98214704d
commit
eeed1b0273
@ -24,6 +24,8 @@ def parse_args():
|
|||||||
|
|
||||||
def load_test_groups(groups_file: str) -> Dict[str, Dict[str, any]]:
|
def load_test_groups(groups_file: str) -> Dict[str, Dict[str, any]]:
|
||||||
"""加载测试分组配置"""
|
"""加载测试分组配置"""
|
||||||
|
# 直接写死文件在容器里的绝对路径(从报错里的路径推导)
|
||||||
|
groups_file = "/workspace/liyitian/231106111-lyt/autograde/test_groups.json"
|
||||||
with open(groups_file, 'r', encoding='utf-8') as f:
|
with open(groups_file, 'r', encoding='utf-8') as f:
|
||||||
return json.load(f)
|
return json.load(f)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user