mailr4350 - /1.3/test_suite/system_tests/__init__.py


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

Header


Content

Posted by edward on January 05, 2008 - 18:09:
Author: bugman
Date: Sat Jan  5 18:09:29 2008
New Revision: 4350

URL: http://svn.gna.org/viewcvs/relax?rev=4350&view=rev
Log:
Shifted to RelaxTestRunner for the new system/functional tests to catch 
STDOUT.


Modified:
    1.3/test_suite/system_tests/__init__.py

Modified: 1.3/test_suite/system_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/__init__.py?rev=4350&r1=4349&r2=4350&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/__init__.py (original)
+++ 1.3/test_suite/system_tests/__init__.py Sat Jan  5 18:09:29 2008
@@ -21,11 +21,13 @@
 
###############################################################################
 
 # Python module imports.
-from unittest import TestLoader, TextTestRunner
+from unittest import TestLoader
 
 # relax module imports.
+from test_suite.relax_test_runner import RelaxTestRunner
+
+# relax system/functional test module imports.
 from test_pipe_create import Test_pipe_create
-from test_suite.relax_test_runner import RelaxTestRunner
 
 
 __all__ = ['angles',
@@ -57,7 +59,7 @@
     def run(self):
         """Function for running all of the system/functional tests."""
 
-        # Create the test suite (add your new classes here).
+        # Create the test suite (add your new TestCase classes here).
         suite = TestLoader().loadTestsFromTestCase(Test_pipe_create)
 
         # Add the relax namespace to each TestCase object.
@@ -65,4 +67,4 @@
             test.relax = self.relax
 
         # Run the test suite.
-        TextTestRunner().run(suite)
+        RelaxTestRunner().run(suite)




Related Messages


Powered by MHonArc, Updated Sat Jan 05 18:20:15 2008