Commit 0503ab0
fix: Check directory existence before load_config() in test
The test_add_project_never_creates_directory test was checking directory
existence after load_config(), but BasicMemoryConfig's model validator
ensure_project_paths_exists creates missing directories on deserialization.
Move the assertion before load_config() so it verifies add_project()
behavior rather than testing the validator side effect.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: phernandez <paul@basicmachines.co>1 parent e90ce11 commit 0503ab0
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
605 | 609 | | |
606 | 610 | | |
607 | 611 | | |
608 | | - | |
609 | 612 | | |
610 | 613 | | |
611 | 614 | | |
| |||
0 commit comments