Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
fix(tests): decode schema hook output as UTF-8
Tobi | Nordalux67ce9cd8a84b
diff --git a/tests/test_schema_hook_policy.py b/tests/test_schema_hook_policy.pyindex ecc6fd3..d3e8c48 100644--- a/tests/test_schema_hook_policy.py+++ b/tests/test_schema_hook_policy.py@@ -63,7 +63,10 @@ def test_graph_members_inherit_context_but_still_require_type(tmp_path: Path) ->"@context": "https://schema.org","@graph": [{"name": "Missing type"}],}- result = _run_payload(tmp_path, payload, capture_output=True, text=True)+ # The hook forces UTF-8 on its own stdout (_configure_utf8); decode with the+ # same codec, not the locale default, which is cp1252 on Windows and cannot+ # represent the emoji markers.+ result = _run_payload(tmp_path, payload, capture_output=True, encoding="utf-8")assert result.returncode == 1assert "Missing @type" in result.stdoutassert "Missing @context" not in result.stdout@@ -82,7 +85,7 @@ def test_non_object_graph_members_are_reported_without_crashing(tmp_path: Path)"@context": "https://schema.org","@graph": ["not-a-node", 42],}- result = _run_payload(tmp_path, payload, capture_output=True, text=True)+ result = _run_payload(tmp_path, payload, capture_output=True, encoding="utf-8")assert result.returncode == 1assert "@graph member 1 must be an object" in result.stdoutassert "@graph member 2 must be an object" in result.stdout@@ -93,7 +96,7 @@ def test_graph_must_be_a_list(tmp_path: Path) -> None:"@context": "https://schema.org","@graph": {"@type": "Organization"},}- result = _run_payload(tmp_path, payload, capture_output=True, text=True)+ result = _run_payload(tmp_path, payload, capture_output=True, encoding="utf-8")assert result.returncode == 1assert "@graph must be a list" in result.stdout