|
Make Settings immutable (frozen=True) and fix all test mutations
- Add frozen=True to SettingsConfigDict in navi/config.py - Convert model_validator to mode="before" since mode="after" cannot mutate frozen instances - Replace all field-level monkeypatches in tests with whole-Settings object replacement - Ensure cross-module settings consistency (content_store, session_files, share_file, content_publish, filesystem) 392 passed, 1 skipped Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/config.py |
|---|
| tests/integration/conftest.py |
|---|
| tests/unit/api/test_session_files.py |
|---|
| tests/unit/core/test_context_builder.py |
|---|
| tests/unit/core/test_registry.py |
|---|
| tests/unit/llm/test_ollama.py |
|---|
| tests/unit/test_content_store.py |
|---|
| tests/unit/tools/test_content_publish.py |
|---|
| tests/unit/tools/test_filesystem.py |
|---|
| tests/unit/tools/test_share_file.py |
|---|