Fix tests for package/bundle import

Two following tests where generating invalid package manifest and
than trying to import generated package:
* test_import_bundle_from_repo
* test_import_package_from_repo

This tests are passing but when we will add package validation on import
using openstack/murano-pkg-check they will start failing.

This commit also removes non-working validation of the versioned import
from the catalog which needs to be fixed at some point of time:

https://bugs.launchpad.net/murano/+bug/1637211

Change-Id: Iae6b56b2f7d32c75515ee92f0e33f9e3af9924e9
This commit is contained in:
Serg Melikyan 2016-10-26 13:19:08 -07:00
parent 43e265eee9
commit cdc0ce4da6
1 changed files with 2 additions and 4 deletions

View File

@ -1793,8 +1793,7 @@ class TestSuiteRepository(base.PackageTestCase):
self._compose_app(pkg_name_parent, require={pkg_name_child: ''})
self._compose_app(pkg_name_child,
require={pkg_name_grand_child: '0.1'})
pkg_name_grand_child += '.0.1'
require={pkg_name_grand_child: ''})
self._compose_app(pkg_name_grand_child)
self.navigate_to('Manage')
@ -1869,8 +1868,7 @@ class TestSuiteRepository(base.PackageTestCase):
self._compose_app(pkg_name_single)
self._compose_app(pkg_name_parent, require={pkg_name_child: ''})
self._compose_app(pkg_name_child,
require={pkg_name_grand_child: '0.1'})
pkg_name_grand_child += '.0.1'
require={pkg_name_grand_child: ''})
self._compose_app(pkg_name_grand_child)
bundle_name = 'PackageWithPackages'