summaryrefslogtreecommitdiffstats
path: root/tests/config.py
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-05-03 14:27:18 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-06-27 16:16:10 +0800
commit9ae13f88c29d7babea19fb65bef208e631a12be4 (patch)
tree5c6a54feb3c3021f4b2f215e5a2a4b6f8ed7354b /tests/config.py
parentd182b8a69eeef01f37b123e7d331972b7c57911d (diff)
add test user, project and role
JIRA: DOCTOR-93 Change-Id: I85bfb21b7c07c40dfd1bfa6049130ad82fa3996a Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/config.py')
-rw-r--r--tests/config.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/config.py b/tests/config.py
index 2288d36e..7a0bef2d 100644
--- a/tests/config.py
+++ b/tests/config.py
@@ -6,16 +6,20 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+import itertools
from oslo_config import cfg
import image
import os_clients
+import user
def list_opts():
return [
- ('os_clients', os_clients.OPTS),
- ('image', image.IMAGE_OPTS),
+ ('DEFAULT', itertools.chain(
+ os_clients.OPTS,
+ image.OPTS,
+ user.OPTS))
]