Commit 520b4844 authored by Antoine Catton's avatar Antoine Catton

Change the test in order to fit to the new logic of

software_instance_tree table.

The new root of the tree isn't root_software_instance anymore
but hosting_subscription.
parent 28d9e79e
......@@ -1783,7 +1783,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
children_software_instance = \
software_instance.portal_catalog.getResultValue(
portal_type="Software Instance", source_reference='children_a',
root_uid=software_instance_uid)
root_uid=sequence['hosting_subscription_uid'])
self.assertNotEqual(None, children_software_instance)
self.assertNotEqual(software_instance.getRelativeUrl(),
children_software_instance.getRelativeUrl())
......@@ -1807,7 +1807,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
children_software_instance = \
software_instance.portal_catalog.getResultValue(
portal_type="Software Instance", source_reference='children_b',
root_uid=software_instance_uid)
root_uid=sequence['hosting_subscription_uid'])
self.assertNotEqual(None, children_software_instance)
self.assertNotEqual(software_instance.getRelativeUrl(),
children_software_instance.getRelativeUrl())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment