summaryrefslogtreecommitdiffstats
path: root/tests/default_fixtures.py
diff options
context:
space:
mode:
authorJose Castro Leon <jose.castro.leon@cern.ch>2012-10-16 23:25:03 +0200
committerJose Castro Leon <jose.castro.leon@cern.ch>2012-10-16 23:25:03 +0200
commita4a97eabb8bde395753de330f76085e69290cdfe (patch)
tree38bf16b22453e498fb4279370fa4b5e31db7e0ff /tests/default_fixtures.py
parentd05d1128490377e4c50311c40d0901aa5b63c4bc (diff)
downloadkeystone-a4a97eabb8bde395753de330f76085e69290cdfe.tar.gz
keystone-a4a97eabb8bde395753de330f76085e69290cdfe.tar.xz
keystone-a4a97eabb8bde395753de330f76085e69290cdfe.zip
Extract hardcoded configuration in ldap backend (bug 1052111)
Change-Id: I128b0ccdb32694a4fc2f660e73c367aa8b01f257
Diffstat (limited to 'tests/default_fixtures.py')
-rw-r--r--tests/default_fixtures.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/default_fixtures.py b/tests/default_fixtures.py
index cb0d0e2e..8b5020ff 100644
--- a/tests/default_fixtures.py
+++ b/tests/default_fixtures.py
@@ -18,6 +18,10 @@ TENANTS = [
{'id': 'bar', 'name': 'BAR'},
{'id': 'baz', 'name': 'BAZ'},
{'id': 'tenent4add', 'name': 'tenant4add'},
+ {'id': 'attr',
+ 'name': 'attr_name',
+ 'description': 'description',
+ 'enabled': True},
]
# NOTE(ja): a role of keystone_admin and attribute "is_admin" is done in setUp
@@ -28,6 +32,13 @@ USERS = [
'name': 'NO_META',
'password': 'no_meta2',
'tenants': ['baz']},
+ {'id': 'attr',
+ 'name': 'attr',
+ 'email': 'attr@example.com',
+ 'enabled': True,
+ 'tenant_id': 'baz',
+ 'password': 'attr_passwd',
+ 'tenants': ['baz']},
]
METADATA = [
@@ -38,6 +49,7 @@ METADATA = [
ROLES = [
{'id': 'keystone_admin', 'name': 'Keystone Admin'},
{'id': 'useless', 'name': 'Useless'},
+ {'id': 'attr', 'name': 'attr'},
]
SERVICES = [