Skip to content

Commit 073d65a

Browse files
akolotovclaude
andcommitted
test: resolve test_helpers basename collision via rename
Revert the three __init__.py files added in Phase 3 and rename tests/api/test_helpers.py -> tests/api/test_api_helpers.py to disambiguate it from tests/tools/transaction/test_helpers.py under pytest's prepend import mode. This keeps the test tree flat and consistent (no partial-package asymmetry) instead of relying on a subset of __init__.py files. Update the AGENTS.md tree accordingly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 33881cf commit 073d65a

5 files changed

Lines changed: 1 addition & 1 deletion

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ mcp-server/
108108
│ │ ├── test_get_transaction_info_real.py # Integration tests for get_transaction_info
109109
│ │ └── test_get_transactions_by_address_real.py # Integration tests for get_transactions_by_address
110110
│ ├── api/ # Unit tests for the REST API
111-
│ │ ├── test_helpers.py # Unit tests for REST error-handling helpers (e.g. handle_rest_errors)
111+
│ │ ├── test_api_helpers.py # Unit tests for REST error-handling helpers (e.g. handle_rest_errors)
112112
│ │ ├── test_resource_routes.py # Unit tests for resource discovery routes (/v1/resources)
113113
│ │ ├── test_routes.py # Unit tests for API route definitions
114114
│ │ └── test_skill_resource_routes.py # Unit tests for the bundled skill HTTP mirror

tests/api/__init__.py

Whitespace-only changes.

tests/tools/__init__.py

Whitespace-only changes.

tests/tools/transaction/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)