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:
@@ -10,7 +10,8 @@
|
||||
"preview": "vite preview",
|
||||
"build:native": "vite build --mode native && cap sync android",
|
||||
"apk:debug": "npm run build:native && node scripts/build-apk.mjs debug",
|
||||
"apk:release": "npm run build:native && node scripts/build-apk.mjs release"
|
||||
"apk:release": "npm run build:native && node scripts/build-apk.mjs release",
|
||||
"test": "node --test \"tests/*.test.mjs\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^8.5.2",
|
||||
|
||||
Reference in New Issue
Block a user