Ticket #25108: 25108.diff

File 25108.diff, 583 bytes (added by Yosuke Yasuda, 9 years ago)
  • tests/forms_tests/tests/test_fields.py

    diff --git a/tests/forms_tests/tests/test_fields.py b/tests/forms_tests/tests/test_fields.py
    index bfc88d7..e3b326c 100644
    a b class FieldsTests(SimpleTestCase):  
    859859        uploaded_file = f.clean(img_file)
    860860
    861861        self.assertEqual('BMP', uploaded_file.image.format)
    862         self.assertIsNone(uploaded_file.content_type)
     862        self.assertEqual('image/bmp', uploaded_file.content_type)
    863863
    864864    # URLField ##################################################################
    865865
Back to Top