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) _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits