summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/core/tenantnetwork.py3
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(