Updated test roles and scopes to correspond to new group structure

This commit is contained in:
vpopescu
2022-08-04 16:06:41 +02:00
parent d4213a98d0
commit 7d902e87cd
2 changed files with 4 additions and 3 deletions

View File

@@ -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 = [
{

View File

@@ -747,6 +747,7 @@ async def test_service_model_filtering(
'name',
'kind',
'users',
'properties',
},
),
(