mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2026-11-04 15:00:08 +00:00
- 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).
12 lines
434 B
Python
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}")
|