Commit 13a01de7 authored by Vivien Alger's avatar Vivien Alger

Mass upgrade: Live Tests

parent 75029c17
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>return context.portal_catalog.countResults(portal_type=\'Computer Partition\', software_release_url=context.getUrlString(), free_for_request=0)[0][0]\n <value> <string>return context.portal_catalog.countResults(portal_type=(\'Software Instance\',\'Slave Instance\'), url_string=context.getUrlString())[0][0]\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -61,11 +61,11 @@ if comp_reference_list != []:\n ...@@ -61,11 +61,11 @@ if comp_reference_list != []:\n
portal_type = \'Hosting Subscription\',\n portal_type = \'Hosting Subscription\',\n
default_specialise_related_uid = [x.getUid() for x in portal.portal_catalog(\n default_specialise_related_uid = [x.getUid() for x in portal.portal_catalog(\n
portal_type = [\'Software Instance\', \'Slave Instance\'],\n portal_type = [\'Software Instance\', \'Slave Instance\'],\n
url_string = old_sr_url,\n
default_aggregate_uid = [y.getUid() for y in portal.portal_catalog(\n default_aggregate_uid = [y.getUid() for y in portal.portal_catalog(\n
portal_type = \'Computer Partition\',\n portal_type = \'Computer Partition\',\n
parent_reference = comp_reference_list,\n parent_reference = comp_reference_list,\n
free_for_request = 0,\n free_for_request = 0\n
software_release_url = old_sr_url\n
)]\n )]\n
)],\n )],\n
method_id = \'HostingSubscription_changeSoftwareRelease\',\n method_id = \'HostingSubscription_changeSoftwareRelease\',\n
......
291 292
\ No newline at end of file \ No newline at end of file
...@@ -3,4 +3,5 @@ testSlapOSCloudConstraint ...@@ -3,4 +3,5 @@ testSlapOSCloudConstraint
testSlapOSCloudSecurityGroup testSlapOSCloudSecurityGroup
testSlapOSCloudShadow testSlapOSCloudShadow
testSlapOSCloudWorkflow testSlapOSCloudWorkflow
testSlapOSCloudDocument testSlapOSCloudDocument
\ No newline at end of file testSlapOSCloudMassUpgrade
\ No newline at end of file
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