summaryrefslogtreecommitdiffstats
path: root/tests/default_fixtures.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/default_fixtures.py')
-rw-r--r--tests/default_fixtures.py22
1 files changed, 3 insertions, 19 deletions
diff --git a/tests/default_fixtures.py b/tests/default_fixtures.py
index 256bb4b7..2695da88 100644
--- a/tests/default_fixtures.py
+++ b/tests/default_fixtures.py
@@ -17,6 +17,7 @@
# NOTE(dolph): please try to avoid additional fixtures if possible; test suite
# performance may be negatively affected.
+from keystone import assignment
from keystone import config
@@ -54,7 +55,7 @@ TENANTS = [
}
]
-# NOTE(ja): a role of keystone_admin and attribute "is_admin" is done in setUp
+# NOTE(ja): a role of keystone_admin is done in setUp
USERS = [
{
'id': 'foo',
@@ -95,13 +96,6 @@ USERS = [
}
]
-METADATA = [
- {
- 'user_id': 'sna',
- 'tenant_id': 'mtu',
- }
-]
-
ROLES = [
{
'id': 'admin',
@@ -125,16 +119,6 @@ ROLES = [
'id': 'service',
'name': 'Service',
}
-
-
]
-DOMAINS = [
- {
- 'id': DEFAULT_DOMAIN_ID,
- 'name': 'Default',
- 'enabled': True,
- 'description': 'Owns users and tenants (i.e. projects) available '
- 'on Identity API v2.'
- }
-]
+DOMAINS = [assignment.DEFAULT_DOMAIN]