Files
gh-christianlouis-docuelevate/tests
copilot-swe-agent[bot] e3cc489975 fix(test): fix test_get_lgpl_license_not_found JSONDecodeError
The test had two issues:
1. Too-broad mock: patching pathlib.Path.exists globally broke
   Starlette/FastAPI internals. Now targets the specific module.
2. Wrong assertion: response.json() failed because the custom
   HTTPException handler returns HTML for non-API routes, not JSON.
   Updated to only assert on status code.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-17 12:01:40 +00:00
..
2026-02-14 00:16:21 +00:00
2026-02-13 21:01:04 +00:00
2026-02-14 00:16:21 +00:00
2026-02-14 00:16:21 +00:00
2026-02-14 00:16:21 +00:00