diff --git a/packages/testing/src/execution_testing/checklists/tests/test_checklist_template_consistency.py b/packages/testing/src/execution_testing/checklists/tests/test_checklist_template_consistency.py index 135da84e56..29c9cc6841 100644 --- a/packages/testing/src/execution_testing/checklists/tests/test_checklist_template_consistency.py +++ b/packages/testing/src/execution_testing/checklists/tests/test_checklist_template_consistency.py @@ -9,7 +9,7 @@ from execution_testing.checklists.eip_checklist import EIPChecklist TEMPLATE_PATH = ( - Path(__file__).parent.parent.parent.parent + Path(__file__).parents[6] / "docs" / "writing_tests" / "checklist_templates" @@ -60,7 +60,6 @@ def get_all_checklist_ids(obj: Any) -> Set[str]: return ids -@pytest.mark.skip(reason="Skipping test until ./docs/ folder is subtree'd") def test_checklist_template_consistency() -> None: """ Test that all IDs in markdown template match EIPChecklist class exactly. @@ -101,7 +100,6 @@ def test_checklist_template_consistency() -> None: pytest.fail(error_message) -@pytest.mark.skip(reason="Skipping test until ./docs/ folder is subtree'd") def test_checklist_template_exists() -> None: """Test that the checklist template file exists.""" assert TEMPLATE_PATH.exists(), ( diff --git a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/eip_checklist.py b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/eip_checklist.py index 54cc5ef3ff..228e993133 100644 --- a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/eip_checklist.py +++ b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/eip_checklist.py @@ -51,8 +51,8 @@ def pytest_addoption(parser: pytest.Parser) -> None: PERCENTAGE_LINE = ( "| TOTAL_CHECKLIST_ITEMS | COVERED_CHECKLIST_ITEMS | PERCENTAGE |" ) -TEMPLATE_PATH = Path( - # TODO: add better repo root detection + +TEMPLATE_PATH = ( Path(__file__).parents[8] / "docs" / "writing_tests" diff --git a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/tests/test_eip_checklist.py b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/tests/test_eip_checklist.py index acc0a73807..1efeeef784 100644 --- a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/tests/test_eip_checklist.py +++ b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/tests/test_eip_checklist.py @@ -4,10 +4,7 @@ import textwrap from typing import Any -import pytest - -@pytest.mark.skip(reason="S kipping test until ./docs/ folder is subtree'd") def test_eip_checklist_collection(testdir: Any) -> None: """Test that checklist markers are collected correctly.""" # Create the test in an EIP-specific directory