mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
Updated test roles and scopes to correspond to new group structure
This commit is contained in:
@@ -568,9 +568,9 @@ async def test_load_roles_services(tmpdir, request, preserve_scopes):
|
||||
async def test_load_roles_groups(tmpdir, request):
|
||||
"""Test loading predefined roles for groups in app.py"""
|
||||
groups_to_load = {
|
||||
'group1': ['gandalf'],
|
||||
'group2': ['bilbo', 'gargamel'],
|
||||
'group3': ['cyclops'],
|
||||
'group1':{'users': ['gandalf'], 'properties': {}},
|
||||
'group2':{'users':['bilbo', 'gargamel'], 'properties': {}},
|
||||
'group3':{'users': ['cyclops'], 'properties': {}},
|
||||
}
|
||||
roles_to_load = [
|
||||
{
|
||||
|
@@ -747,6 +747,7 @@ async def test_service_model_filtering(
|
||||
'name',
|
||||
'kind',
|
||||
'users',
|
||||
'properties',
|
||||
},
|
||||
),
|
||||
(
|
||||
|
Reference in New Issue
Block a user