kin: KIN-DOCS-010-backend_dev
This commit is contained in:
parent
22779291c6
commit
656f46e57f
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ class TestAllPromptsContainReturnFormat:
|
|||
f"Без секции: {[f.name for f in all_files if f not in files_with_rf]}"
|
||||
)
|
||||
|
||||
@pytest.mark.parametrize("prompt_file", [f.name for f in sorted(PROMPTS_DIR.glob("*.md"))])
|
||||
@pytest.mark.parametrize("prompt_file", _ACTIVE_PROMPT_NAMES)
|
||||
def test_each_prompt_has_return_format(self, prompt_file):
|
||||
"""Каждый промпт-файл содержит секцию '## Return Format'."""
|
||||
content = (PROMPTS_DIR / prompt_file).read_text(encoding="utf-8")
|
||||
|
|
@ -118,7 +118,7 @@ class TestPromptCount:
|
|||
def test_prompt_count_is_25(self):
|
||||
"""В agents/prompts/ ровно 25 файлов .md."""
|
||||
count = len(_prompt_files())
|
||||
assert count == 25, (
|
||||
assert count == 25, ( # 25 промптов — актуально на 2026-03-19 (см. git log agents/prompts/)
|
||||
f"Ожидалось 25 промптов, найдено {count}. "
|
||||
"Если добавлен новый промпт — обнови этот тест."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue