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
1 changed files with 1 additions and 1 deletions

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"])