forked from genewildish/Mainline
feat(pipeline): add fixtures system for cached test data #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Introduce a fixtures system for providing cached data (e.g., headlines) to avoid network dependencies during development and testing.
Features
engine/fixtures/headlines.jsoncontaining cached headline datasource="fixture"in PipelinePresetfetch.pycache path moved toengine/fixtures/headlines.jsonWhy
Files Changed
engine/fetch.py(cache path update)engine/fixtures/headlines.json(new, sample headline dataset)engine/pipeline/presets.py(add FIXTURE_PRESET)engine/app.py(fixture source handling)Status
Feature complete.
Related