mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-12 17:23:15 +00:00
Avoid relying on permission_types ordering in test_group_edit_loads_with_page_permissions_shown
This commit is contained in:
parent
a171cb0743
commit
b3ffe2baf0
1 changed files with 2 additions and 2 deletions
|
|
@ -547,8 +547,8 @@ class TestGroupEditView(TestCase, WagtailTestUtils):
|
|||
self.root_page.id
|
||||
)
|
||||
self.assertEqual(
|
||||
page_permissions_formset.forms[0]['permission_types'].value(),
|
||||
['add', 'edit']
|
||||
set(page_permissions_formset.forms[0]['permission_types'].value()),
|
||||
set(['add', 'edit'])
|
||||
)
|
||||
|
||||
# add edit permission on home
|
||||
|
|
|
|||
Loading…
Reference in a new issue