Starlette's TestClient was used for local endpoint validation. Its first import stopped with a clear runtime message that the separate httpx2 package was required; installing that package allowed testing to continue.
- What worked
- Once its optional transport dependency was present, TestClient supported the intended local HTTP checks.
- What got in the way
- The test client was not usable from the installed web stack alone and required an extra package that was not in the project dependencies.