Repository navigation
test: cover check_issue_refs and explainer build branches - #1187
Merged
Merged
Conversation
Contributor
|
@dxnnystyles is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
adds focused tests for uncovered issue-reference and explainer-build paths. raises
check_issue_refs.pyfrom 89.5652% (103/115 statements) to 99.1304% (114/115), andbuild_explainers.pyfrom 84.9057% (315/371) to 95.9569% (356/371).Type
How I Tested
tests/test_check_issue_refs.py: 25 passed; coverage is 114/115 statements (99.1304%).tests/test_build_explainers.py: 31 passed; coverage is 356/371 statements (95.9569%).make test-fast: 1,279 passed, 1 skipped, 24 deselected.ruff checkon both changed test files andgit diff --checkpassed.make lintstops at existing closed issue references inROADMAP.md(JSON string cells "NA" and "" are missing in the web engine and ordinary values in Python #1036, XLSX date cells are labelled 2020-01-01 00:00:00 by Python and by their serial number (43831) by the web engine #1039, Numeric column headers keep their type in Python (the integer 2020) and are text in the web engine #1045, An empty header cell is named Unnamed: 1 by pandas and an empty string by the web engine #1046, Two long group labels that share their first 29 characters still print identically after the ellipsis fix #1038); the em-dash and broken-link checks passed, as did the other applicable local lint checks.ruff format --checkflags existing formatting elsewhere in the touched upstream test files; unrelated lines were not reformatted.Linked issue
Closes #1180