22 lines
639 B
Python
22 lines
639 B
Python
TENANTS = [
|
|
{'id': 'bar', 'name': 'BAR'},
|
|
{'id': 'baz', 'name': 'BAZ'},
|
|
{'id': 'tenent4add', 'name': 'tenant4add'},
|
|
]
|
|
|
|
# NOTE(ja): a role of keystone_admin and attribute "is_admin" is done in setUp
|
|
USERS = [
|
|
{'id': 'foo', 'name': 'FOO', 'password': 'foo2', 'tenants': ['bar',]},
|
|
{'id': 'two', 'name': 'TWO', 'password': 'two2', 'tenants': ['baz',]},
|
|
]
|
|
|
|
METADATA = [
|
|
{'user_id': 'foo', 'tenant_id': 'bar', 'extra': 'extra'},
|
|
{'user_id': 'two', 'tenant_id': 'baz', 'extra': 'extra'},
|
|
]
|
|
|
|
ROLES = [
|
|
{'id': 'keystone_admin', 'name': 'Keystone Admin'},
|
|
{'id': 'useless', 'name': 'Useless'},
|
|
]
|