summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-06-19 19:25:26 +0000
committerJannis Leidel <jannis@leidel.info>2011-06-19 19:25:26 +0000
commitdf45e35661fbbb888465552910b9996019f193c8 (patch)
tree912d9a428ada684354b91eba4528c7ab1a304ab7 /tests
parentf2dca72afd89160580454abe5a90e0b4c6be196e (diff)
Fixed broken i18n tests after r16437.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/i18n/commands/extraction.py2
-rw-r--r--tests/regressiontests/i18n/commands/templates/template_with_error.tpl (renamed from tests/regressiontests/i18n/commands/templates/template_with_error.txt)0
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py
index 7341c4f7cb..4f476340f2 100644
--- a/tests/regressiontests/i18n/commands/extraction.py
+++ b/tests/regressiontests/i18n/commands/extraction.py
@@ -79,7 +79,7 @@ class BasicExtractorTests(ExtractorTests):
def test_extraction_error(self):
os.chdir(self.test_dir)
- shutil.copyfile('./templates/template_with_error.txt', './templates/template_with_error.html')
+ shutil.copyfile('./templates/template_with_error.tpl', './templates/template_with_error.html')
self.assertRaises(SyntaxError, management.call_command, 'makemessages', locale=LOCALE, verbosity=0)
try:
management.call_command('makemessages', locale=LOCALE, verbosity=0)
diff --git a/tests/regressiontests/i18n/commands/templates/template_with_error.txt b/tests/regressiontests/i18n/commands/templates/template_with_error.tpl
index c2b93bdd06..c2b93bdd06 100644
--- a/tests/regressiontests/i18n/commands/templates/template_with_error.txt
+++ b/tests/regressiontests/i18n/commands/templates/template_with_error.tpl