Compare commits

..

No commits in common. "a0d2f814e472c57b1b67d6ecf0a1f7e000add6bb" and "22779291c6c4bb4c6ac4c3f660c6d6e47d06bd87" have entirely different histories.

View file

@ -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", _ACTIVE_PROMPT_NAMES)
@pytest.mark.parametrize("prompt_file", [f.name for f in sorted(PROMPTS_DIR.glob("*.md"))])
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, ( # 25 промптов — актуально на 2026-03-19 (см. git log agents/prompts/)
assert count == 25, (
f"Ожидалось 25 промптов, найдено {count}. "
"Если добавлен новый промпт — обнови этот тест."
)