Ticket #27394: 27394-test.2.diff

File 27394-test.2.diff, 658 bytes (added by Mariusz Felisiak, 8 years ago)

Test

  • tests/template_tests/filter_tests/test_floatformat.py

    diff --git a/tests/template_tests/filter_tests/test_floatformat.py b/tests/template_tests/filter_tests/test_floatformat.py
    index 099ec4d..2d4e4e7 100644
    a b class FunctionTests(SimpleTestCase):  
    5454        self.assertEqual(floatformat('foo', 'bar'), '')
    5555        self.assertEqual(floatformat('¿Cómo esta usted?'), '')
    5656        self.assertEqual(floatformat(None), '')
     57        self.assertEqual(floatformat(-1.323297138040798e+35, 2), '-132329713804079800000000000000000000.00')
    5758
    5859    def test_zero_values(self):
    5960        """
Back to Top