Skip to content

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.

test(launcher): make the doctor --help smoke immune to argparse colour

Agrici Daniel98dc2bb21407
diff --git a/tests/test_hosted_plugin_layout.py b/tests/test_hosted_plugin_layout.py
index 07471e6..b8cacd4 100644
--- a/tests/test_hosted_plugin_layout.py
+++ b/tests/test_hosted_plugin_layout.py
@@ -123,11 +123,17 @@ def test_installers_reference_the_scripts_launcher() -> None:
)
def test_launcher_runs_without_network_or_managed_runtime() -> None:
"""``doctor --help`` is handled by argparse before any venv is touched."""
+ # Python 3.14 argparse colourises help whenever colour is forced in the
+ # environment; disable it and strip any escapes so the assertion is stable.
+ env = {**os.environ, "PYTHON_COLORS": "0", "NO_COLOR": "1"}
+ env.pop("FORCE_COLOR", None)
result = subprocess.run(
["bash", str(LAUNCHER), "doctor", "--help"],
capture_output=True,
text=True,
cwd=str(ROOT),
+ env=env,
)
assert result.returncode == 0, result.stderr
- assert "usage: claude-seo doctor" in result.stdout
+ plain = re.sub(r"\x1b\[[0-9;]*m", "", result.stdout)
+ assert "usage: claude-seo doctor" in plain