Skip to content

Commit 77f611b

Browse files
committed
fix(evaluation): 修复 CI 子进程模块导入
1 parent 68c318e commit 77f611b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/evaluation/test_eval_optimize_loop_real_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def test_real_cli_requires_explicit_confirmation_before_creating_workspace(tmp_p
393393
completed = subprocess.run(
394394
[
395395
sys.executable,
396-
str(root / "run_real_integration.py"),
396+
str(_EXAMPLE / "run_real_integration.py"),
397397
"--config",
398398
str(root / "pipeline.real.json"),
399399
"--optimizer-model-name",
@@ -424,7 +424,7 @@ def test_real_cli_requires_business_model_environment_before_creating_workspace(
424424
completed = subprocess.run(
425425
[
426426
sys.executable,
427-
str(root / "run_real_integration.py"),
427+
str(_EXAMPLE / "run_real_integration.py"),
428428
"--run-real",
429429
"--config",
430430
str(root / "pipeline.real.json"),

tests/evaluation/test_eval_optimize_loop_stage4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def test_cli_explains_that_real_mode_requires_injected_call_agent(tmp_path: Path
545545
completed = subprocess.run(
546546
[
547547
sys.executable,
548-
str(root / "run_pipeline.py"),
548+
str(_EXAMPLE / "run_pipeline.py"),
549549
"--config",
550550
str(root / "pipeline.json"),
551551
"--run-id",

tests/evaluation/test_eval_optimize_loop_stage5_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def test_fake_cli_prints_report_paths(tmp_path: Path) -> None:
385385
completed = subprocess.run(
386386
[
387387
sys.executable,
388-
str(root / "run_pipeline.py"),
388+
str(_EXAMPLE / "run_pipeline.py"),
389389
"--config",
390390
str(root / "pipeline.json"),
391391
"--run-id",

0 commit comments

Comments
 (0)