Skip to content

Add tests for utils, forms, serializers, and segment locks#7

Merged
csengor merged 1 commit into2603_testsfrom
2603_tests_additional
Mar 22, 2026
Merged

Add tests for utils, forms, serializers, and segment locks#7
csengor merged 1 commit into2603_testsfrom
2603_tests_additional

Conversation

@csengor
Copy link
Copy Markdown
Owner

@csengor csengor commented Mar 22, 2026

Summary

  • Add 28 tests to kaplancloudapp/tests.py covering utils path helpers, ProjectForm validation, KPPUploadForm, MultipleFileField/Input, and change_segment_locks editor task
  • Add 17 tests to kaplancloudapi/tests.py covering ProjectFilePostSerializer, ProjectReferenceFileSerializer, TranslationMemorySerializer, and UserSerializer
  • Total test count: 217 → 256

Test plan

  • All 256 tests pass locally with python manage.py test
  • Ruff lint and format checks pass
  • CI pipeline passes

🤖 Generated with Claude Code

Cover previously untested areas: path helper functions in utils.py,
ProjectForm validation logic, KPPUploadForm, MultipleFileField/Input,
API serializers (ProjectFilePost, ProjectReferenceFile, TranslationMemory,
User), and the change_segment_locks editor POST task.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@csengor csengor merged commit 55bb744 into 2603_tests Mar 22, 2026
2 checks passed
@csengor csengor deleted the 2603_tests_additional branch March 22, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant