Update test files to use new module route paths: - test_password_reset.py: app.api.v1.shop.auth -> app.modules.customers.routes.api.storefront - test_addresses.py: app.api.v1.shop.addresses -> app.modules.customers.routes.api.storefront - test_orders.py: app.api.v1.shop.orders -> app.modules.orders.routes.api.storefront Note: Some tests still fail due to patching built-in functions incorrectly. These tests need further refactoring to match the new module architecture. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
API v1 Integration Tests
Documentation
For comprehensive test structure documentation, please see:
Test Structure Guide in MkDocs
Quick Start
# Run all v1 API tests
pytest tests/integration/api/v1/ -v
# Run specific area
pytest tests/integration/api/v1/vendor/ -v
pytest tests/integration/api/v1/admin/ -v
pytest tests/integration/api/v1/public/ -v
pytest tests/integration/api/v1/shared/ -v
Structure
tests/integration/api/v1/
├── admin/ # Admin API tests
├── vendor/ # Vendor API tests
├── public/ # Public API tests
└── shared/ # Shared/common tests
See full documentation: Test Structure Guide