From ecb322af21c3b070670ff69dc2e324ec6a3af1d9 Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Tue, 26 Jul 2011 01:50:39 -0300
Subject: [PATCH] move steps to steps section to be more easy find them

---
 .../Vifib/tests/testVifibSlapWebService.py    | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/master/product/Vifib/tests/testVifibSlapWebService.py b/master/product/Vifib/tests/testVifibSlapWebService.py
index 400248f9a..576bf6d50 100644
--- a/master/product/Vifib/tests/testVifibSlapWebService.py
+++ b/master/product/Vifib/tests/testVifibSlapWebService.py
@@ -4700,16 +4700,6 @@ class TestVifibSlapWebService(testVifibMixin):
      Check the behaviour when one Slave Instance is requested and not exist one
      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):
     """
@@ -6149,6 +6139,16 @@ class TestVifibSlapWebService(testVifibMixin):
     self.assertTrue("%s</parameter>" % sequence["site_url"] in \
         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_software_release_purchase_packing_list + '\
       LoginDefaultUser \
-- 
2.30.9