Skip to content

Commit 05def3f

Browse files
committed
test(prompts): isolate prompt loading order test
1 parent 5fc0ead commit 05def3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_prompt_override.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ def walk(_path):
4242

4343
monkeypatch.setattr(prompts_module, "CURRENT_DIR", str(tmp_path))
4444
monkeypatch.setattr(prompts_module.os, "walk", walk)
45+
monkeypatch.delenv("PROMPTS_DIR", raising=False)
4546

4647
assert [prompt.content for prompt in prompts_module._load_prompts()] == ["a", "z"]

0 commit comments

Comments
 (0)