New feature: Support rooted descriptors and descriptors under project
Signed-off-by: Philip Joseph <philip.joseph@riftio.com>
diff --git a/common/python/test/utest_config_data.py b/common/python/test/utest_config_data.py
index 8287c11..020a2b4 100644
--- a/common/python/test/utest_config_data.py
+++ b/common/python/test/utest_config_data.py
@@ -31,11 +31,11 @@
from rift.mano.config_data import config
import gi
-gi.require_version('VnfdYang', '1.0')
+gi.require_version('ProjectVnfdYang', '1.0')
gi.require_version('RwYang', '1.0')
from gi.repository import (
- VnfdYang,
+ ProjectVnfdYang,
RwYang,
)
diff --git a/common/python/test/utest_project.py b/common/python/test/utest_project.py
index 1bc531e..01f627c 100644
--- a/common/python/test/utest_project.py
+++ b/common/python/test/utest_project.py
@@ -134,7 +134,7 @@
1. Instance of project from xpath
2. project name in instance is correct
"""
- xpath = XPATH + '/rw:project/rw-project:project/rw-project:project/rw-project:project/rw-project:project/nsd:nsd-catalog/nsd:nsd[id=\'1232334\']'
+ xpath = XPATH + '/rw:project/rw-project:project/rw-project:project/rw-project:project/rw-project:project/project-nsd:nsd-catalog/project-nsd:nsd[id=\'1232334\']'
proj = project.ManoProject.create_from_xpath(xpath, TestCase.log)
assert proj
assert NAME == proj.name