Author: bugman Date: Mon Jan 25 17:06:28 2010 New Revision: 10314 URL: http://svn.gna.org/viewcvs/relax?rev=10314&view=rev Log: The relax main instance is no longer handled by the system test initialisation code. 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=10314&r1=10313&r2=10314&view=diff ============================================================================== --- 1.3/test_suite/system_tests/__init__.py (original) +++ 1.3/test_suite/system_tests/__init__.py Mon Jan 25 17:06:28 2010 @@ -86,18 +86,8 @@ class System_test_runner: """Class for executing all of the system/functional tests.""" - def __init__(self, relax): - """Place the relax namespace into self.relax when instantiating the class. - - @param relax: The relax namespace. - @type relax: instance - """ - - self.relax = relax - - def run(self): - """Function for running all of the system/functional tests.""" + """Run all of the system/functional tests.""" # Create an array of test suites (add your new TestCase classes here). suite_array = [] @@ -126,11 +116,6 @@ suite_array.append(TestLoader().loadTestsFromTestCase(Structure)) suite_array.append(TestLoader().loadTestsFromTestCase(Unit_vectors)) - # Add the relax namespace to each TestCase object. - for i in xrange(len(suite_array)): - for test in suite_array[i]._tests: - test.relax = self.relax - # Group all tests together. full_suite = TestSuite(suite_array)