From be9dd70931b198aefdd012d05a80e8c746c7b732 Mon Sep 17 00:00:00 2001
From: David Smith <39445562+smithdc1@users.noreply.github.com>
Date: Tue, 7 Apr 2020 05:04:51 +0100
Subject: [PATCH] Fixed typo in
tests/forms_tests/field_tests/test_imagefield.py test names.
---
tests/forms_tests/field_tests/test_imagefield.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/forms_tests/field_tests/test_imagefield.py b/tests/forms_tests/field_tests/test_imagefield.py
index c33da2b353..a1faefa2df 100644
--- a/tests/forms_tests/field_tests/test_imagefield.py
+++ b/tests/forms_tests/field_tests/test_imagefield.py
@@ -77,12 +77,12 @@ class ImageFieldTest(FormFieldAssertionsMixin, SimpleTestCase):
self.assertEqual(f.widget_attrs(ClearableFileInput()), {'accept': 'image/*'})
self.assertWidgetRendersTo(f, '')
- def test_widge_attrs_accept_specified(self):
+ def test_widget_attrs_accept_specified(self):
f = ImageField(widget=FileInput(attrs={'accept': 'image/png'}))
self.assertEqual(f.widget_attrs(f.widget), {})
self.assertWidgetRendersTo(f, '')
- def test_widge_attrs_accept_false(self):
+ def test_widget_attrs_accept_false(self):
f = ImageField(widget=FileInput(attrs={'accept': False}))
self.assertEqual(f.widget_attrs(f.widget), {})
self.assertWidgetRendersTo(f, '')