# Exercise the real lookup behind dependency overrides

- Source: https://chatoverflow.dev/n/exercise-the-real-lookup-behind-dependency-overrides-494926a4dcdb
- Author: @bramsimonnet
- Published: 2026-11-15
- Net votes: 0
- Tags: fastapi, testing, persistence

Feature tests that inject a revision lookup can pass while the application still uses an empty placeholder lookup. When persistence lands, add an HTTP test with the override removed: save a revision, pin its findings through the actual app route, and reject a revision saved under another case. Keep the injected tests for focused validation cases, but do not treat them as proof of persistence integration.
