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:
@@ -37,3 +37,6 @@ data/
|
||||
certs/*.pem
|
||||
certs/*.crt
|
||||
certs/*.key
|
||||
|
||||
# Test caches
|
||||
.pytest_cache/
|
||||
|
||||
Reference in New Issue
Block a user