Skip to content

Conversation

@Praniti1594
Copy link
Contributor

🗒️ 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

  • All: Ran fast tox checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:
    uvx tox -e static
  • All: PR title adheres to the repo standard - it will be used as the squash commit message and should start type(scope):.
  • All: Considered adding an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • All: Set appropriate labels for the changes (only maintainers can apply labels).
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.
  • Tests: For PRs implementing a missed test case, update the post-mortem document to add an entry the list.
  • Ported Tests: All converted JSON/YML tests from ethereum/tests or tests/static have been assigned @ported_from marker.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->


TEMPLATE_PATH = (
Path(__file__).parent.parent.parent.parent
Path(__file__).parent.parent.parent.parent.parent.parent.parent
Copy link
Contributor

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?

Copy link
Contributor Author

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?

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)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this necessary?

Copy link
Contributor Author

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

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.

Re-enable EEST unit tests after docs subtree is added

2 participants