Skip to content

Commit d6d9662

Browse files
committed
addressed copilot review
1 parent 666cb16 commit d6d9662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_update_main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ def test_update_regeneration_mode_respects_pddrc_prompts_dir(tmp_path, monkeypat
456456
- "backend/**"
457457
defaults:
458458
prompts_dir: "prompts/backend"
459+
generate_output_path: "backend"
459460
'''
460461
(repo_path / ".pddrc").write_text(pddrc_content)
461462

@@ -498,7 +499,7 @@ def test_update_regeneration_mode_respects_pddrc_prompts_dir(tmp_path, monkeypat
498499
)
499500

500501
# Assert: Prompt should be saved to prompts/backend/, not prompts/
501-
expected_prompt_path = repo_path / "prompts" / "backend" / "backend" / "some_module_python.prompt"
502+
expected_prompt_path = repo_path / "prompts" / "backend" / "some_module_python.prompt"
502503
wrong_prompt_path = repo_path / "prompts" / "some_module_python.prompt"
503504

504505
assert expected_prompt_path.exists(), \

0 commit comments

Comments
 (0)