1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed a test that fails under Python 3.

This commit is contained in:
Aymeric Augustin 2013-05-09 19:33:02 +02:00
parent f026a519ae
commit 9a3708cec8

View File

@ -536,4 +536,4 @@ class TestTicket19733(TestCase):
def test_modelform_factory_with_all_fields(self):
form = modelform_factory(Person, fields="__all__")
self.assertEqual(form.base_fields.keys(), ["name"])
self.assertEqual(list(form.base_fields), ["name"])