Author: bugman Date: Sun Nov 25 15:14:40 2007 New Revision: 3903 URL: http://svn.gna.org/viewcvs/relax?rev=3903&view=rev Log: File rename. Added: 1.3/test_suite/unit_tests/diffusion_tensor_testing_base.py - copied unchanged from r3901, 1.3/test_suite/unit_tests/diffusion_tensor_base.py Removed: 1.3/test_suite/unit_tests/diffusion_tensor_base.py Removed: 1.3/test_suite/unit_tests/diffusion_tensor_base.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/diffusion_tensor_base.py?rev=3902&view=auto ============================================================================== --- 1.3/test_suite/unit_tests/diffusion_tensor_base.py (original) +++ 1.3/test_suite/unit_tests/diffusion_tensor_base.py (removed) @@ -1,56 +1,0 @@ -############################################################################### -# # -# Copyright (C) 2007 Edward d'Auvergne # -# # -# This file is part of the program relax. # -# # -# relax is free software; you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation; either version 2 of the License, or # -# (at your option) any later version. # -# # -# relax is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with relax; if not, write to the Free Software # -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# # -############################################################################### - -# relax module imports. -from data import Data as relax_data_store -from relax_errors import RelaxError, RelaxNoPipeError, RelaxResSelectDisallowError, RelaxSpinSelectDisallowError - - - -class Diffusion_tensor_base_class: - """Base class for the tests of the diffusion tensor modules. - - This includes both the 'prompt.diffusion_tensor' and 'generic_fns.diffusion_tensor' modules. - The base class also contains many shared unit tests. - """ - - - def setUp(self): - """Set up for all the diffusion tensor unit tests.""" - - # Reset the relax data storage object. - relax_data_store.__reset__() - - # Add a data pipe to the data store. - relax_data_store.add(pipe_name='orig', pipe_type='mf') - - # Add a second data pipe for copying tests. - relax_data_store.add(pipe_name='test', pipe_type='mf') - - # Set the current data pipe to 'orig'. - relax_data_store.current_pipe = 'orig' - - - def tearDown(self): - """Reset the relax data storage object.""" - - relax_data_store.__reset__()