Skip to content

Fix coverage omit test filename#164

Draft
wayyoungboy wants to merge 1 commit into
pytest-dev:masterfrom
wayyoungboy:fix-tox-coverage-omit-155
Draft

Fix coverage omit test filename#164
wayyoungboy wants to merge 1 commit into
pytest-dev:masterfrom
wayyoungboy:fix-tox-coverage-omit-155

Conversation

@wayyoungboy

Copy link
Copy Markdown

Fixes #155.\n\nThe coverage omit pattern referenced test_functional_workflow.py, but the generated temporary test file uses test_functional_work_flow.py. This updates the omit pattern so coverage reports exclude the intended generated file.\n\nVerification:\n- tox-equivalent coverage repro from tests/ showing the old omit leaves test_functional_work_flow.py in the report and the new omit excludes it\n- python assertion that tox.ini references the actual filename\n- git diff --check\n\nNote: A broader local pytest run produced unrelated socket startup failures in test_process_initialization.py on this machine; 45 tests passed before those environment-dependent failures.

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.

test_functional_workflow.py vs. test_functional_work_flow.py in tox.ini

1 participant