diff --git a/tests/test_permissions.py b/tests/test_permissions.py index c2401f7..36da5c7 100644 --- a/tests/test_permissions.py +++ b/tests/test_permissions.py @@ -61,7 +61,7 @@ def test_permission_needed(app, admin, demomodels, action): @pytest.mark.django_db() def test_permissions(admin): - assert Permission.objects.filter(codename__startswith="adminactions").count() == 63 + assert Permission.objects.filter(codename__startswith="adminactions").count() == 70 with user_grant_permission(admin, ["demo.adminactions_export_demomodel"]): assert admin.get_all_permissions() == set(["demo.adminactions_export_demomodel"])