0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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
This commit is contained in:
Ramiro Morales 2011-04-18 21:02:57 +00:00
parent 0defa7dc9d
commit 487cd1fa23

View File

@ -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)