mailr4345 - /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:01:
Author: bugman
Date: Sat Jan  5 18:01:08 2008
New Revision: 4345

URL: http://svn.gna.org/viewcvs/relax?rev=4345&view=rev
Log:
Placed the relax namespace into the new system tests.

The relax namespace will now be available to all new TestCase class instances.


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=4345&r1=4344&r2=4345&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/__init__.py (original)
+++ 1.3/test_suite/system_tests/__init__.py Sat Jan  5 18:01:08 2008
@@ -61,8 +61,12 @@
         @type runner:   instance
         """
 
-        # Create the test suite.
+        # Create the test suite (add your new classes here).
         suite = TestLoader().loadTestsFromTestCase(Test_pipe_create)
+
+        # Add the relax namespace to each TestCase object.
+        for test in suite._tests:
+            test.relax = self.relax
 
         # Run the test suite.
         TextTestRunner().run(suite)




Related Messages


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