[tracker/tracker-0.10] functional-tests: Split application tests in two classes



commit ad94d4a46f7e3dddf5f17745c14deac1f78da537
Author: Ivan Frade <ivan frade nokia com>
Date:   Fri Feb 4 19:23:04 2011 +0200

    functional-tests: Split application tests in two classes
    
    The tests are timing out in the machinery, and the timeout is per class.
    Splitting the tests in two classes to bypass this limitation.

 tests/functional-tests/600-applications-camera.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/tests/functional-tests/600-applications-camera.py b/tests/functional-tests/600-applications-camera.py
index ef4ad73..198a3c5 100755
--- a/tests/functional-tests/600-applications-camera.py
+++ b/tests/functional-tests/600-applications-camera.py
@@ -37,7 +37,7 @@ from common.utils.applicationstest import CommonTrackerApplicationTest as Common
 
 MINER_FS_IDLE_TIMEOUT = 5
 
-class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
+class TrackerCameraPicturesApplicationTests (CommonTrackerApplicationTest):
 
     def test_01_camera_picture (self):
         """
@@ -180,7 +180,9 @@ class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
         self.assertEquals (self.get_urn_count_by_url (dest_fileuri), 0)
 
 
-    def test_03_camera_video (self):
+class TrackerCameraVideosApplicationTests (CommonTrackerApplicationTest):
+
+    def test_01_camera_video (self):
         """
         Camera video recording simulation:
 
@@ -235,7 +237,7 @@ class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
         self.assertEquals (self.get_urn_count_by_url (dest_fileuri), 0)
 
 
-    def test_04_camera_video_geolocation (self):
+    def test_02_camera_video_geolocation (self):
         """
         Camera simulation:
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]