mirror of
https://github.com/django/django.git
synced 2025-01-10 18:36:05 +00:00
Fixed a test that fails under Python 3.
This commit is contained in:
parent
f026a519ae
commit
9a3708cec8
@ -536,4 +536,4 @@ class TestTicket19733(TestCase):
|
|||||||
|
|
||||||
def test_modelform_factory_with_all_fields(self):
|
def test_modelform_factory_with_all_fields(self):
|
||||||
form = modelform_factory(Person, fields="__all__")
|
form = modelform_factory(Person, fields="__all__")
|
||||||
self.assertEqual(form.base_fields.keys(), ["name"])
|
self.assertEqual(list(form.base_fields), ["name"])
|
||||||
|
Loading…
Reference in New Issue
Block a user