Skip to content

test: cherry-pick tests from #944#954

Open
jbedard wants to merge 1 commit intomainfrom
944-pick-tests
Open

test: cherry-pick tests from #944#954
jbedard wants to merge 1 commit intomainfrom
944-pick-tests

Conversation

@jbedard
Copy link
Copy Markdown
Member

@jbedard jbedard commented Apr 28, 2026

Add some tests now so #944 highlights changes

Changes are visible to end-users: no

Test plan

  • Covered by existing test cases

@jbedard jbedard marked this pull request as ready for review April 28, 2026 16:26
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9a56315940

ℹ️ 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".

# absolute-path → manifest-path fixup in pytest_main.py should have
# rewritten coverage.py's follow-symlinks absolute path back to the
# original "examples/pytest/foo.py" entry.
grep -qE '^SF:.*examples/pytest/foo\.py$' "$LCOV" || {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require exact SF path in LCOV assertion

The SF check is too permissive: ^SF:.*examples/pytest/foo\.py$ will still match an unfixed absolute path like SF:/tmp/.../examples/pytest/foo.py, so this test can pass even if the absolute→manifest rewrite in pytest_main.py regresses. That weakens the regression coverage this script is intended to provide; matching the exact manifest path would make the test fail when the fixup is broken.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants