diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-06-24 10:44:12 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-03 19:34:41 +0200 |
commit | 6d346ac0d71be04d171045d93513e88ce315886c (patch) | |
tree | 5c15ba69d9bd4bc41d17ea2b4ab77850b66dc6f4 | |
parent | a7aef50bdbdca1d3eac53e8bd0c8e2653fe7715a (diff) |
Fix hardcoded value
Change-Id: I070e1404a4b0dba4733f38e2de32e1fa77254ddc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9927a930bd77b7be7fa079472838f0c9f10e1c13)
-rw-r--r-- | functest/core/tenantnetwork.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/core/tenantnetwork.py b/functest/core/tenantnetwork.py index e0325baa2..5458480c9 100644 --- a/functest/core/tenantnetwork.py +++ b/functest/core/tenantnetwork.py @@ -51,7 +51,8 @@ class NewProject(object): assert self.case_name password = str(uuid.uuid4()) domain = self.orig_cloud.get_domain( - name_or_id="functest") + name_or_id=self.orig_cloud.auth.get( + "project_domain_name", "Default")) self.project = self.orig_cloud.create_project( name='{}-project_{}'.format(self.case_name, self.guid), description="Created by OPNFV Functest: {}".format( |