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

Source Code for Module test_suite.gui_tests.consistency_tests

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2012 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  # Module docstring. 
24  """GUI tests for the relaxation data consistency testing related activities.""" 
25   
26  # relax module imports. 
27  import dep_check 
28  from test_suite.gui_tests.base_classes import GuiTestCase 
29  from test_suite import system_tests 
30   
31   
32 -class Ct(GuiTestCase, system_tests.consistency_tests.Ct):
33 """Class for testing various aspects specific to consistency testing.""" 34
35 - def __init__(self, methodName=None):
36 """Set up the test case class for the system tests.""" 37 38 # Execute the base __init__ methods. 39 super(Ct, self).__init__(methodName)
40 41
42 - def setUp(self):
43 """Set up the tests by executing all base class setUp() methods.""" 44 45 # Call the base class methods. 46 GuiTestCase.setUp(self) 47 system_tests.consistency_tests.Ct.setUp(self)
48