Skip to content

Tests: machine translations - #4502

Open
seluianova wants to merge 3 commits into
developfrom
test/mt-api-test
Open

Tests: machine translations#4502
seluianova wants to merge 3 commits into
developfrom
test/mt-api-test

Conversation

@seluianova

@seluianova seluianova commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Short description

While working on several MT-related tasks in a row, I think it would be helpful to refactor the MT tests a bit to make adding new tests easier.

Proposed changes

  • move tests for bulk MT into separate file bulk_mt_test.py because the mt_api_test.py was too big already;
  • add helper methods _create_page() and _edit_page_translation() for test data preparation;
  • add new test cases: test_mt_update_up_to_date_no_changes(), test_manual_update_mt_page().

Side effects

no, just new tests

Faithfulness to issue description and design

There are no intended deviations from the issue and design.

How to test

n/a

Resolved issues

Fixes: #


Pull Request Review Guidelines

@@ -0,0 +1,597 @@
from __future__ import annotations

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just moved all tests for bulk machine translations as is here

@seluianova seluianova changed the title Test: machine translations Tests: machine translations Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant