Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_translations.py

Issue 29659605: Issue 6231 - Add tests for translation string substitution (Closed)
Patch Set: Add tests for partial translation and for get_string Created Jan. 19, 2018, 3:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/test_translations.py
===================================================================
--- a/tests/test_translations.py
+++ b/tests/test_translations.py
@@ -10,17 +10,17 @@
@pytest.fixture(scope='module')
def expect_requests():
return [
('info?key=test_key&json=1', ''),
('supported-languages?key=test_key&json=1', ''),
('add-file?key=test_key&json=1', 'translate.json'),
- ('upload-translation?key=test_key&json=1', 'test_sample'),
+ ('upload-translation?key=test_key&json=1', 'simple'),
('delete-file?key=test_key&json=1', 'translate.json'),
('delete-file?key=test_key&json=1', 'translate.json'),
('delete-directory?key=test_key&json=1', ''),
('delete-directory?key=test_key&json=1', ''),
('export?key=test_key&json=1', ''),
('download/all.zip?key=test_key', ''),
]
« tests/test_page_outputs.py ('K') | « tests/test_site/templates/translatable-template.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld