Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
srugano committed Nov 10, 2023
1 parent e4f321a commit 9e46632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

0 comments on commit 9e46632

Please sign in to comment.