Files
orion/tests/integration/api/v1
Samir Boulahtit 448f01f82b feat: add Letzshop bidirectional order integration
Add complete Letzshop marketplace integration with:
- GraphQL client for order import and fulfillment operations
- Encrypted credential storage per vendor (Fernet encryption)
- Admin and vendor API endpoints for credentials management
- Order import, confirmation, rejection, and tracking
- Fulfillment queue and sync logging
- Comprehensive documentation and test coverage

New files:
- app/services/letzshop/ - GraphQL client and services
- app/utils/encryption.py - Fernet encryption utility
- models/database/letzshop.py - Database models
- models/schema/letzshop.py - Pydantic schemas
- app/api/v1/admin/letzshop.py - Admin API endpoints
- app/api/v1/vendor/letzshop.py - Vendor API endpoints
- docs/guides/letzshop-order-integration.md - Documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 12:19:54 +01:00
..
2025-11-21 23:16:21 +01:00
2025-11-21 23:16:21 +01:00
2025-09-21 13:00:10 +02:00
2025-11-21 23:16:21 +01:00

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