Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ reports:
filename: "report.html"
title: "UCM Pytest Test Report"

database:
backup: "results/"
enabled: true
host: "127.0.0.1"
port: 3306
name: "ucm_pytest"
user: "root"
password: "123456"
charset: "utf8mb4"
# database:
# backup: "results/"
# enabled: true
# host: "127.0.0.1"
# port: 3306
# name: "ucm_pytest"
# user: "root"
# password: "123456"
# charset: "utf8mb4"

# LLM Connection Configuration
llm_connection:
Expand All @@ -24,4 +24,8 @@ llm_connection:
tokenizer_path: "/home/models/QwQ-32B"
stream: true # stream output
ignore_eos: true # Ignore the returned terminator
timeout: 180 # request time out
timeout: 180 # request time out

# Offline inference configuration (for accuracy tests)
model_path: "/home/models/DeepSeek-V2-Lite"
ucm_storage_dir: "/home/share/qyh-test"
2 changes: 2 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def pytest_collection_modifyitems(config, items):

markers = [m.split(":", 1)[0].strip() for m in config.getini("markers")]
for name in markers:
if name == "forked":
continue
opt = config.getoption(f"--{name}", "").strip()
if not opt:
continue
Expand Down
Loading
Loading