Files
orion/tests/integration/api/v1
Samir Boulahtit 9920430b9e fix: correct tojson|safe usage in templates and update validator
- Remove |safe from |tojson in HTML attributes (x-data) - quotes must
  become " for browsers to parse correctly
- Update LANG-002 and LANG-003 architecture rules to document correct
  |tojson usage patterns:
  - HTML attributes: |tojson (no |safe)
  - Script blocks: |tojson|safe
- Fix validator to warn when |tojson|safe is used in x-data (breaks
  HTML attribute parsing)
- Improve code quality across services, APIs, and tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 22:59:51 +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