diff options
| -rw-r--r-- | tests/regressiontests/i18n/commands/extraction.py | 2 | ||||
| -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 |
