mailr19726 - /trunk/test_suite/gui_tests/frame_order.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 24, 2013 - 11:18:
Author: bugman
Date: Fri May 24 11:18:23 2013
New Revision: 19726

URL: http://svn.gna.org/viewcvs/relax?rev=19726&view=rev
Log:
A whitelist is now being used to limit the number of frame order GUI tests to 
1.


Modified:
    trunk/test_suite/gui_tests/frame_order.py

Modified: trunk/test_suite/gui_tests/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/frame_order.py?rev=19726&r1=19725&r2=19726&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/frame_order.py (original)
+++ trunk/test_suite/gui_tests/frame_order.py Fri May 24 11:18:23 2013
@@ -24,6 +24,7 @@
 
 # relax module imports.
 import dep_check
+from status import Status; status = Status()
 from test_suite.gui_tests.base_classes import GuiTestCase
 from test_suite import system_tests
 
@@ -37,6 +38,15 @@
         # Execute the base __init__ methods.
         super(Frame_order, self).__init__(methodName)
 
+        # Tests not to skip.
+        whitelist = [
+            'test_cam_iso_cone'
+        ]
+
+        # Skip the non-whitelisted tests.
+        if methodName not in whitelist:
+            status.skipped_tests.append([methodName, None, self._skip_type])
+
 
     def setUp(self):
         """Set up the tests by executing all base class setUp() methods."""




Related Messages


Powered by MHonArc, Updated Fri May 24 12:00:02 2013