test: unit tests for licensing, LAN IP, TLS identity and rediscovery

- local_backend/tests (pytest, 48 tests, <1s): license token verify/evaluate
  (tamper, other site/key, offline, grace, workday deferral, clock, transition),
  netinfo detection on fake sysfs (VPN/tunnel/WiFi/link-local), LAN-IP
  resolver priority + mismatch + staleness + override validation, TLS
  identity create/restart/renew-same-key/foreign cert (+ openssl pin check)
- waiter_pwa/tests (node --test, 7 tests): subnet candidates, scan picks only
  this venue, early stop, progress
- requirements-dev.txt (pytest), npm test, .pytest_cache ignored

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 23:33:16 +03:00
co-authored by Claude Opus 5.5
parent ffca0ace43
commit f00c99fd36
8 changed files with 368 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
# Test-only dependencies (python -m pytest tests -q)
-r requirements.txt
pytest==8.3.3