Commit a5a590dc authored by Romain Courteaud's avatar Romain Courteaud

Keep the instance title consistent for all calls

parent 28a62308
......@@ -1194,7 +1194,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
SetRandomRequestedReference
SetRandomRequestedReferenceAndTitle
SlapLoginTestVifibCustomer
PersonRequestSlapSoftwareInstancePrepare
Tic
......@@ -1216,7 +1216,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginTestVifibCustomer
SetSequenceSoftwareInstanceRequestedStateDestroyed
SetSequenceSoftwareInstanceStateDestroyed
PersonRequestSoftwareInstance
Tic
Logout
......
......@@ -4267,6 +4267,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def stepSetRandomRequestedReference(self, sequence, **kw):
sequence['requested_reference'] = self.id() + str(random())
def stepSetRandomRequestedReferenceAndTitle(self, sequence, **kw):
sequence['requested_reference'] = self.id() + str(random())
sequence['software_title'] = sequence['requested_reference']
def stepRenameCurrentSoftwareInstanceDead(self, sequence, **kw):
software_instance = self.portal.portal_catalog.getResultValue(
uid=sequence['software_instance_uid']
......
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