Package test_suite :: Package unit_tests :: Module minimisation_testing_base
[hide private]
[frames] | no frames]

Source Code for Module test_suite.unit_tests.minimisation_testing_base

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2008-2011 Edward d'Auvergne                                   # 
 4  #                                                                             # 
 5  # This file is part of the program relax.                                     # 
 6  #                                                                             # 
 7  # relax is free software; you can redistribute it and/or modify               # 
 8  # it under the terms of the GNU General Public License as published by        # 
 9  # the Free Software Foundation; either version 2 of the License, or           # 
10  # (at your option) any later version.                                         # 
11  #                                                                             # 
12  # relax is distributed in the hope that it will be useful,                    # 
13  # but WITHOUT ANY WARRANTY; without even the implied warranty of              # 
14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               # 
15  # GNU General Public License for more details.                                # 
16  #                                                                             # 
17  # You should have received a copy of the GNU General Public License           # 
18  # along with relax; if not, write to the Free Software                        # 
19  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   # 
20  #                                                                             # 
21  ############################################################################### 
22   
23  # relax module imports. 
24  from data import Relax_data_store; ds = Relax_data_store() 
25  from test_suite.unit_tests.base_classes import UnitTestCase 
26   
27   
28 -class Minimisation_base_class(UnitTestCase):
29 """Base class for the tests of the minimisation modules. 30 31 This includes both the 'prompt.minimisation' and 'generic_fns.minimise' modules. The base class also contains many shared unit tests. 32 """ 33 34
35 - def setUp(self):
36 """Set up for all the minimisation unit tests.""" 37 38 # Add a data pipe to the data store. 39 ds.add(pipe_name='orig', pipe_type='mf')
40