Commit a12558b5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: do not create Software Installation for Remote Node

parent 5c96ce02
......@@ -850,9 +850,6 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
# and install some software on them
public_server_software = remote_server_software
remote_compute_node.requestSoftwareRelease(software_release_url=public_server_software,
state='available')
#software_product, release_variation, type_variation = self.addSoftwareProduct(
public_instance_type = remote_instance_type
software_product, software_release, software_type = self.addSoftwareProduct(
......@@ -941,13 +938,13 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
assert len(related_object_list) == 14, [x.getRelativeUrl() for x in related_object_list]
# Ensure no unexpected object has been created
# 2 (can reduce to 2) assignment, 1 remote node, 1 software installation
# 2 (can reduce to 2) assignment, 1 remote node
# 1 instance tree, 1 software instance
# 1 credential request
# 1 software product
# 3 allocation supply/line/cell
related_object_list = project.Base_getRelatedObjectList(**{'category.category_strict_membership': 1})
assert len(related_object_list) == 11, [x.getRelativeUrl() for x in related_object_list]
assert len(related_object_list) == 10, [x.getRelativeUrl() for x in related_object_list]
self.stepcheckERP5Consistency()
......
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