Package test_suite :: Package gui_tests :: Module n_state_model
[hide private]
[frames] | no frames]

Source Code for Module test_suite.gui_tests.n_state_model

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2012-2013 Edward d'Auvergne                                   # 
 4  #                                                                             # 
 5  # This file is part of the program relax (http://www.nmr-relax.com).          # 
 6  #                                                                             # 
 7  # This program 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 3 of the License, or           # 
10  # (at your option) any later version.                                         # 
11  #                                                                             # 
12  # This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.       # 
19  #                                                                             # 
20  ############################################################################### 
21   
22  # Module docstring. 
23  """GUI tests for the N-state model related activities.""" 
24   
25  # relax module imports. 
26  from status import Status; status = Status() 
27  from test_suite.gui_tests.base_classes import GuiTestCase 
28  from test_suite import system_tests 
29   
30   
31 -class N_state_model(GuiTestCase, system_tests.n_state_model.N_state_model):
32 """Class for testing the N-state model related functions in the GUI.""" 33
34 - def __init__(self, methodName=None):
35 """Set up the test case class for the system tests.""" 36 37 # Execute the base __init__ methods. 38 super(N_state_model, self).__init__(methodName) 39 40 # Tests to skip. 41 blacklist = [ 42 'test_populations' 43 ] 44 45 # Skip the blacklisted tests. 46 if methodName in blacklist: 47 status.skipped_tests.append([methodName, None, self._skip_type])
48