Changes between Initial Version and Version 1 of Ticket #29452, comment 6


Ignore:
Timestamp:
Jun 7, 2018, 5:41:52 AM (6 years ago)
Author:
Ramiro Morales

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29452, comment 6

    initial v1  
    44{{{
    55#!diff
    6 diff --git a/tests/i18n/commands/templates/test.html b/tests/i18n/commands/templates/test.html
    7 index cac034e..3868dc1 100644
    8 --- a/tests/i18n/commands/templates/test.html
    9 +++ b/tests/i18n/commands/templates/test.html
    10 @@ -105,3 +105,5 @@ Plural for a `trans` and `blocktrans` collision case
    11  {% endblocktrans %}
    12  
    13  {% trans "Non-breaking space :" %}
    14 +
    15 +{% trans "Nón-ÁSCÍÏ text" %}
    166diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py
    17 index d9ce3b4..e7557fc 100644
     7index d9ce3b4..a0d16b9 100644
    188--- a/tests/i18n/test_extraction.py
    199+++ b/tests/i18n/test_extraction.py
    20 @@ -394,6 +394,14 @@ class BasicExtractorTests(ExtractorTests):
     10@@ -128,6 +128,8 @@ class ExtractorTests(POFileAssertionMixin, RunInTmpDirMixin, SimpleTestCase):
     11 
     12 class BasicExtractorTests(ExtractorTests):
     13 
     14+    POT_FILE = 'locale/django.pot'
     15+
     16     @override_settings(USE_I18N=False)
     17     def test_use_i18n_false(self):
     18         """
     19@@ -394,6 +396,14 @@ class BasicExtractorTests(ExtractorTests):
    2120             po_contents = fp.read()
    2221             self.assertMsgStr("Größe", po_contents)
     
    3231 
    3332 class JavascriptExtractorTests(ExtractorTests):
    34  
     33
    3534}}}
    3635
Back to Top