| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The v2.8.0 reliability change routed requests through a requests.Session and made _check_status catch requests.HTTPError, but the gallery upload tests still patched module-level requests.get/post and raised a bare Exception, so patches missed and mismatch handling never triggered. Repoint patches to requests.Session.* and raise requests.HTTPError. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Updates the gallery filesystem unit tests to align with the newer ClientBase behavior that routes HTTP calls through a requests.Session and normalizes error handling via requests.HTTPError, ensuring the upload mismatch logic is exercised correctly.
Changes:
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
There was a problem hiding this comment.
fix looks good 👍 .
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The v2.8.0 reliability change routed requests through a requests.Session and made _check_status catch requests.HTTPError, but the gallery upload tests still patched module-level requests.get/post and raised a bare Exception, so patches missed and mismatch handling never triggered.
Repoint patches to requests.Session.* and raise requests.HTTPError.