mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
Added `src/tests/test_core_api_services.py` to test public methods of `VaultService`, `ProfileService`, `SyncService`, `EntryService`, `ConfigService`, `UtilityService`, and `NostrService` in `src/seedpass/core/api.py`. These tests ensure proper thread safety (locking) and delegation to the underlying `PasswordManager` and its components. Key improvements: - Verified locking behavior for thread-safe operations. - Validated delegation logic for all service methods. - Covered edge cases like default vs. custom password generation policies. - Mocked external dependencies (pubsub bus, manager components) to isolate service logic. Co-authored-by: PR0M3TH3AN <[email protected]>