Ticket #26173: 26173-test.diff

File 26173-test.diff, 528 bytes (added by Tim Graham, 9 years ago)
  • tests/i18n/tests.py

    diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py
    index 9bbbf10..1e07378 100644
    a b class FormattingTests(SimpleTestCase):  
    11171117                    form6.as_ul()
    11181118                )
    11191119
     1120    def test_localized_input_func(self):
     1121        with self.settings(USE_THOUSAND_SEPARATOR=True):
     1122            self.assertEqual(localize_input(True), 'True')
     1123
    11201124    def test_sanitize_separators(self):
    11211125        """
    11221126        Tests django.utils.formats.sanitize_separators.
Back to Top