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..41c50b2278 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,7 @@ 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 +101,7 @@ 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 da5116194b..146b4639ba 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 @@ -52,7 +52,7 @@ def pytest_addoption(parser: pytest.Parser) -> None: "| TOTAL_CHECKLIST_ITEMS | COVERED_CHECKLIST_ITEMS | PERCENTAGE |" ) TEMPLATE_PATH = ( - Path(__file__).parents[3] + Path(__file__).parents[8] / "docs" / "writing_tests" / "checklist_templates" 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..7bb524634b 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 @@ -7,7 +7,7 @@ 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