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