Skip to content

Commit 0e6477e

Browse files
committed
Fetching permissions returns groups and users that have access.
1 parent 336eec1 commit 0e6477e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/framework/test_owners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_notebook_owner(make_notebook, make_notebook_permissions, make_group, ws
7070
name = notebook_ownership.owner_of(notebook)
7171

7272
my_user = ws.current_user.me()
73-
assert name == my_user.user_name
73+
assert name in [my_user.user_name, new_group.display_name]
7474

7575

7676
def test_file_owner(make_workspace_file, ws):

0 commit comments

Comments
 (0)