Files
orion/tests/integration/api/v1/vendor
Samir Boulahtit 238c1ec9b8 refactor: modernize code quality tooling with Ruff
- Replace black, isort, and flake8 with Ruff (all-in-one linter and formatter)
- Add comprehensive pyproject.toml configuration
- Simplify Makefile code quality targets
- Configure exclusions for venv/.venv in pyproject.toml
- Auto-fix 1,359 linting issues across codebase

Benefits:
- Much faster builds (Ruff is written in Rust)
- Single tool replaces multiple tools
- More comprehensive rule set (UP, B, C4, SIM, PIE, RET, Q)
- All configuration centralized in pyproject.toml
- Better import sorting and formatting consistency

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 19:37:38 +01:00
..
2025-11-21 23:16:21 +01:00
2025-11-21 23:16:21 +01:00

Vendor API Integration Tests

Documentation

For comprehensive vendor API testing documentation, please see:

Vendor API Testing Guide in MkDocs

Quick Start

# Run all vendor tests
pytest tests/integration/api/v1/vendor/ -v

# Run with coverage
pytest tests/integration/api/v1/vendor/ \
  --cov=app/api/v1/vendor \
  --cov-report=html

Test Files

  • test_authentication.py - Authentication tests (30+ tests)
  • test_dashboard.py - Dashboard stats tests (12 tests)

Fixtures

Key fixtures for vendor testing:

  • vendor_user_headers - Authentication headers for vendor API
  • test_vendor_with_vendor_user - Vendor with VendorUser association

See Also