Commit bf0656b1 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: _makeSoftwareRelease url

parent dd6e1ade
......@@ -597,10 +597,12 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
software_product.publish()
return software_product
def _makeSoftwareRelease(self, software_product):
def _makeSoftwareRelease(self, software_product, url=None):
if url is None:
url = self.generateNewSoftwareReleaseUrl()
return software_product.newContent(
portal_type='Software Product Release Variation',
url_string=self.generateNewSoftwareReleaseUrl(),
url_string=url,
)
def _makeSoftwareType(self, software_product):
......
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