Files
orion/tests/integration/api/v1
Samir Boulahtit fa2a3bf89a feat: make Product fully independent from MarketplaceProduct
- Add is_digital and product_type columns to Product model
- Remove is_digital/product_type properties that derived from MarketplaceProduct
- Update Create form with translation tabs, GTIN type, sale price, VAT rate, image
- Update Edit form to allow editing is_digital (remove disabled state)
- Add Availability field to Edit form
- Fix Detail page for directly created products (no marketplace source)
- Update vendor_product_service to handle new fields in create/update
- Add VendorProductCreate/Update schema fields for translations and is_digital
- Add unit tests for is_digital column and direct product creation
- Add integration tests for create/update API with new fields
- Create product-architecture.md documenting the independent copy pattern
- Add migration y3d4e5f6g7h8 for is_digital and product_type columns

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 01:11:00 +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