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 different types of pages; also for includes and templates Created Jan. 12, 2018, 7:53 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
« cms/sources.py ('K') | « tests/test_site/templates/translatable-template.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'),
Jon Sonesen 2018/01/19 04:45:37 Is this unrelated?
Vasily Kuznetsov 2018/01/19 15:34:29 This is needed because I renamed the translation s
('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', ''),
]
« cms/sources.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