aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-11-22 12:43:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-22 12:43:56 +0000
commit01a5192428eb99afcb94047e6faa54e1d57114d1 (patch)
treed6c0b1aa427a2162edc5ed10cf8d4d9b1b6100ef /functest/core
parent185dbcfb6ed774cc2f0478b05041d9e3a4e2f303 (diff)
parentc36f96b80c00a23164a194c6c74d7281c9835e12 (diff)
Merge "Removal of deprecated SNAPS-OO classes."
Diffstat (limited to 'functest/core')
-rw-r--r--functest/core/vnf.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/functest/core/vnf.py b/functest/core/vnf.py
index 507e2765..73aaf446 100644
--- a/functest/core/vnf.py
+++ b/functest/core/vnf.py
@@ -14,8 +14,10 @@ import time
import functest.core.testcase as base
from functest.utils.constants import CONST
-from snaps.openstack.create_user import UserSettings, OpenStackUser
-from snaps.openstack.create_project import ProjectSettings, OpenStackProject
+from snaps.config.user import UserConfig
+from snaps.config.project import ProjectConfig
+from snaps.openstack.create_user import OpenStackUser
+from snaps.openstack.create_project import OpenStackProject
from snaps.openstack.tests import openstack_tests
__author__ = ("Morgan Richomme <morgan.richomme@orange.com>, "
@@ -108,7 +110,7 @@ class VnfOnBoarding(base.TestCase):
project_creator = OpenStackProject(
snaps_creds,
- ProjectSettings(
+ ProjectConfig(
name=self.tenant_name,
description=tenant_description
))
@@ -118,7 +120,7 @@ class VnfOnBoarding(base.TestCase):
user_creator = OpenStackUser(
snaps_creds,
- UserSettings(
+ UserConfig(
name=self.tenant_name,
password=self.tenant_name,
roles={'admin': self.tenant_name}))