Commit Graph

9 Commits

Author SHA1 Message Date
wjbeckett
0158ac1040 fix: Add default values to config classes to resolve test validation errors
- Add default instances to all nested config classes (TorrentConfig, NotificationConfig, IndexerConfig, MetadataProviderConfig, AuthConfig)
- Add default values to AllEncompassingConfig fields to prevent validation errors during testing
- Update GitHub workflow to copy config.example.toml before running tests
- Ensures tests can run without requiring complete configuration files while maintaining production functionality

Fixes test collection errors where pydantic validation failed due to missing required config sections.
2025-07-18 16:56:19 +10:00
maxDorninger
8f7c1035c0 remove instantiation calls from settings models 2025-07-11 00:56:04 +02:00
maxDorninger
9db9c85fc6 make all var names lower case and fix circular imports 2025-07-11 00:47:29 +02:00
maxDorninger
9173c3ad83 format files 2025-07-10 23:54:24 +02:00
maxDorninger
d986f91e5e modify notification module config 2025-07-10 23:48:29 +02:00
maxDorninger
8a89a24f25 remove unused usenet_directory var and fix types of the configs 2025-07-10 22:33:44 +02:00
maxDorninger
1b784c35c1 add allencompassing config, replace basic config usage with allencompassing config usage 2025-07-10 21:47:37 +02:00
maxDorninger
efc3846860 format files 2025-07-01 16:03:17 +02:00
maxDorninger
179dec0a7a add notificaton service providers (email, ntfy.sh, gotify and pushover) 2025-07-01 15:09:03 +02:00