diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-04-18 21:02:57 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-04-18 21:02:57 +0000 |
| commit | 487cd1fa23eab0fbf02f0e322152b4b348911cdc (patch) | |
| tree | e435192866d4fc22c0786b43bff4c985ea6fd46a | |
| parent | 0defa7dc9dc97a11baea3b91158fbc7c57e5c3a6 (diff) | |
Added new tests I forgot to include in [16038].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/regressiontests/i18n/commands/extraction.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py index 46242d0359..fa3df5b9d2 100644 --- a/tests/regressiontests/i18n/commands/extraction.py +++ b/tests/regressiontests/i18n/commands/extraction.py @@ -1,3 +1,4 @@ +# -*- encoding: utf-8 -*- import os import re import shutil @@ -63,6 +64,9 @@ class BasicExtractorTests(ExtractorTests): self.assertTrue('#. Translators: One-line translator comment #4' in po_contents) self.assertTrue('#. Translators: Two-line translator comment #4\n#. continued here.' in po_contents) + self.assertTrue('#. Translators: One-line translator comment #5 -- with non ASCII characters: áéíóúö' in po_contents) + self.assertTrue('#. Translators: Two-line translator comment #5 -- with non ASCII characters: áéíóúö\n#. continued here.' in po_contents) + def test_templatize(self): os.chdir(self.test_dir) management.call_command('makemessages', locale=LOCALE, verbosity=0) |
