-
Notifications
You must be signed in to change notification settings - Fork 372
Fix/issue 1654 #1740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: forks/osaka
Are you sure you want to change the base?
Fix/issue 1654 #1740
Conversation
Removed skip markers from checklist template tests.
Add TEMPLATE_PATH for accessing checklist templates.
Removed unused TEMPLATE_PATH definition from test file.
|
|
||
| TEMPLATE_PATH = ( | ||
| Path(__file__).parent.parent.parent.parent | ||
| Path(__file__).parent.parent.parent.parent.parent.parent.parent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use .parents[...] instead of chaining so many parent traversals together?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use
.parents[...]instead of chaining so manyparenttraversals together?
yes using parents index will be much better. but i went with chained calls cause in previous code they were using it
| skipped=0, | ||
| errors=0, | ||
| ) | ||
| result.assert_outcomes(errors=0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
initially i made those changes cause checking errors=0 was enough to prove code path didn't crash, i'll undo the changes
🗒️ Description
This PR addresses Issue #1645 by re-enabling two sets of EEST unit tests that were previously disabled due to the missing docs subtree dependency.
To ensure the re-enabled tests run correctly after the repository refactoring, the file path constant pointing to the documentation template (TEMPLATE_PATH) was corrected to use an 8-level directory traversal in the following files:
packages/testing/.../test_checklist_template_consistency.py
packages/testing/.../eip_checklist.py
All re-enabled tests pass successfully on the latest build.
🔗 Related Issues or PRs
Fixes #1645
✅ Checklist
toxchecks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:uvx tox -e statictype(scope):.mkdocs servelocally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.@ported_frommarker.Cute Animal Picture