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

Unified Diff: tests/test_translations.py

Issue 29471555: NoIssue - Remove explicit locale assertion from translation test (Closed)
Patch Set: Created June 22, 2017, 10:47 a.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
« no previous file with comments | « no previous file | 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
@@ -13,18 +13,18 @@
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'),
('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', 'de'),
- ('delete-directory?key=test_key&json=1', 'en'),
+ ('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', ''),
]
@pytest.fixture(scope='module')
def make_crowdin_zip(temp_site):
zip_name = os.path.join('tests', 'all')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld