Skip to content

Commit 737c07a

Browse files
refactor: consider later changes in namespaces
1 parent 41da28b commit 737c07a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openedx_authz/tests/api/test_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def test_unassign_all_roles_impacts_permissions(self):
402402
"""
403403
username = "alice"
404404
scope = "lib:Org1:math_101"
405-
action = "delete_library" # library_admin permission
405+
action = permissions.DELETE_LIBRARY.identifier
406406

407407
# Verify alice has the permission before unassignment
408408
has_permission_before = is_user_allowed(

0 commit comments

Comments
 (0)