secubox-deb/packages/secubox-eye-remote/tests
CyberMind-FR 0cbef4f45d feat(secubox-eye-remote): Add device registry with JSON persistence
Implements DeviceRegistry class for managing paired Eye Remote devices:
- CRUD operations (add, get, remove, list)
- Thread-safe access via Lock
- JSON file persistence at /var/lib/secubox/eye-remote/devices.json
- Token validation and last_seen timestamp updates
- Singleton pattern for global access

Includes test suite with 8 passing tests covering all operations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 10:56:22 +02:00
..
__init__.py feat(eye-remote): Add SecuBox module skeleton with Pydantic models 2026-04-21 10:52:46 +02:00
conftest.py feat(secubox-eye-remote): Add device registry with JSON persistence 2026-04-21 10:56:22 +02:00
test_device_registry.py feat(secubox-eye-remote): Add device registry with JSON persistence 2026-04-21 10:56:22 +02:00
test_token_manager.py feat(secubox-eye-remote): Add token manager with SHA256 hashing 2026-04-21 10:56:09 +02:00