Expand token-cookie missing-component coverage and clarify test variable naming#447
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 96ea1cac7c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,15 @@ | |||
| Metadata-Version: 2.4 | |||
There was a problem hiding this comment.
Drop generated egg-info metadata
This adds setuptools-generated package metadata even though the BFF package metadata is already maintained in bff/pyproject.toml, and the repo guidance says generated artifacts should not be hand-edited unless explicitly allowed. Keeping this second copy means the next version, dependency, or file-list change can leave PKG-INFO, requires.txt, or SOURCES.txt stale, so local distribution metadata/package manifests may no longer match the actual project. Please remove the backend_for_frontend.egg-info files rather than committing them with this test-only change.
Useful? React with 👍 / 👎.
test_token_cookiesonly covered the missingid_tokencase, leaving gaps for other required cookie components. This PR extends coverage soload_token_from_cookiesis validated to returnNonewhen any required token cookie is absent, while also improving test variable clarity.Coverage gap addressed
access_tokenand missingrefresh_tokencookie scenarios.id_tokenbehavior expectations.Readability improvement
id_tokentest to explicitly reflect intent.Representative change
Original prompt