aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-11-21 12:09:29 -0700
committerJose Lausuch <jalausuch@suse.com>2017-11-21 21:46:48 +0000
commitc36f96b80c00a23164a194c6c74d7281c9835e12 (patch)
tree3fd5762ab52552b85a5ea6be1e28684fdbb7c4a4 /functest/core
parent6fa563f54ff36c091f9f98b17b410e95879ec921 (diff)
Removal of deprecated SNAPS-OO classes.
JIRA: SNAPS-202 Change-Id: I115b4927b287a5525f4c1b95128d91f5229c7856 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
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}))