Commit ecb322af authored by Gabriel Monnerat's avatar Gabriel Monnerat

move steps to steps section to be more easy find them

parent e6bd5a9b
...@@ -4700,16 +4700,6 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -4700,16 +4700,6 @@ class TestVifibSlapWebService(testVifibMixin):
Check the behaviour when one Slave Instance is requested and not exist one Check the behaviour when one Slave Instance is requested and not exist one
available slot available slot
""" """
def stepSlaveInstanceStarted(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
slave_instance.startComputerPartition()
def stepSlaveInstanceStopped(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
slave_instance.stopComputerPartition()
def test_SlaveInstance_request_start(self): def test_SlaveInstance_request_start(self):
""" """
...@@ -6149,6 +6139,16 @@ class TestVifibSlapWebService(testVifibMixin): ...@@ -6149,6 +6139,16 @@ class TestVifibSlapWebService(testVifibMixin):
self.assertTrue("%s</parameter>" % sequence["site_url"] in \ self.assertTrue("%s</parameter>" % sequence["site_url"] in \
software_instance.getConnectionXml()) software_instance.getConnectionXml())
def stepSlaveInstanceStarted(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
slave_instance.startComputerPartition()
def stepSlaveInstanceStopped(self, sequence):
slave_instance = self.portal.portal_catalog.getResultValue(
uid=sequence["software_instance_uid"])
slave_instance.stopComputerPartition()
prepare_two_purchase_packing_list = \ prepare_two_purchase_packing_list = \
prepare_software_release_purchase_packing_list + '\ prepare_software_release_purchase_packing_list + '\
LoginDefaultUser \ LoginDefaultUser \
......
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