igor_nadein 5d9e9704e6 test: Add comprehensive tests for new document features
- Created test suite for all new ViewSets:
  * DocumentTagViewSet (3 tests)
  * DocumentTypeViewSet (2 tests)
  * CabinetViewSet (4 tests)
  * DocumentCommentViewSet (5 tests)
- Tests for related documents management (4 tests)
- Tests for django-reversion endpoints (2 tests)
- Integration test for complex document with all features
- Total: 21 test cases covering all new functionality

Tests use pytest fixtures for clean test data setup.
Tests cover CRUD operations, permissions, and edge cases.
2026-02-28 14:43:10 +03:00
..