Files
foxhunt/crates
jgrusewski e91a0c9a6a cleanup: wire storage.base_directory in training_pipeline tests
The three TODO comments claiming \"TrainingPipelineConfig needs a new
struct\" were stale — the config already exposes `storage.base_directory`
(test_process_features_full_workflow_success already uses it). Wire
up the two previously-neutered tests so they actually exercise their
intended behaviour:

- `test_pipeline_creation_storage_dir_is_file_fails` now sets
  base_directory to a regular file and asserts pipeline creation
  returns Err (create_dir_all on a file path fails with ENOTDIR).
- `test_process_features_dataset_not_found` now points storage at a
  fresh tempdir so the NotFound assertion runs against an isolated
  state rather than the default on-disk location.
- The inline \"fixed from TODO comment\" note in the third test is
  replaced with a plain description of why the tempdir override is
  needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 08:38:44 +02:00
..