Files
hackingtool/tests/test_logo_version.py
Hardik Zinzu e3824c8a26 Docs: fix version/count drift and label TUI vs --classic
- logo.svg version v2.0.0 -> v3.1.0; add test_logo_version.py guard so the
  static SVG label can't drift from constants.VERSION again.
- Reconcile counts across README/TOOLS/HOW-TO-USE to the app's real numbers:
  219 tools / 21 categories / 44 archived / 63 tags in use (was 215/21/59/63).
- Frame the default TUI vs the --classic REPL: mark /find, /goal, recommend,
  tags/search and background panes as --classic (Phase 2 brings them to the TUI).
2026-10-15 19:01:16 +05:30

12 lines
434 B
Python

"""Guard: the static logo.svg version label must match constants.VERSION (single source)."""
from pathlib import Path
from hackingtool.constants import VERSION
_LOGO = Path(__file__).resolve().parents[1] / "images" / "logo.svg"
def test_logo_svg_version_matches_constants():
assert f"hackingtool — v{VERSION}" in _LOGO.read_text(encoding="utf-8"), (
f"images/logo.svg version label is stale; bump it to v{VERSION}")