mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 13:04:46 +00:00
python3 fix
This commit is contained in:
parent
b2dfc84b61
commit
6252bd8dc9
1 changed files with 2 additions and 2 deletions
|
|
@ -420,7 +420,7 @@ class TestInlinePanel(TestCase):
|
|||
EventPageForm = SpeakerInlinePanel.get_form_class(EventPage)
|
||||
|
||||
# SpeakerInlinePanel should instruct the form class to include a 'speakers' formset
|
||||
self.assertEqual(['speakers'], EventPageForm.formsets.keys())
|
||||
self.assertEqual(['speakers'], list(EventPageForm.formsets.keys()))
|
||||
|
||||
event_page = EventPage.objects.get(slug='christmas')
|
||||
|
||||
|
|
@ -457,7 +457,7 @@ class TestInlinePanel(TestCase):
|
|||
EventPageForm = SpeakerInlinePanel.get_form_class(EventPage)
|
||||
|
||||
# SpeakerInlinePanel should instruct the form class to include a 'speakers' formset
|
||||
self.assertEqual(['speakers'], EventPageForm.formsets.keys())
|
||||
self.assertEqual(['speakers'], list(EventPageForm.formsets.keys()))
|
||||
|
||||
event_page = EventPage.objects.get(slug='christmas')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue