Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tests/skills/test_xurl_article_ingestion_docs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
from pathlib import Path


Expand All @@ -15,6 +16,16 @@
)


# The xurl skill lives under skills/social-media/, which may be excluded from
# this fork's bundled skill set (e.g. when the social-media category is
# disabled in local config — see hermes-skills-toggle). Skip the whole module
# if the skill file is absent rather than failing with FileNotFoundError.
pytestmark = pytest.mark.skipif(
not SKILL_MD.is_file(),
reason="xurl skill not present (skills/social-media/xurl/SKILL.md missing)",
)


def test_xurl_article_ingestion_uses_raw_api_mode():
skill_text = SKILL_MD.read_text(encoding="utf-8")
docs_text = DOC_MD.read_text(encoding="utf-8")
Expand Down
Loading