Trees | Indices | Help |
|
---|
|
1 ############################################################################### 2 # # 3 # Copyright (C) 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 # Python module imports. 23 from os import sep 24 import sys 25 26 # relax module imports. 27 from test_suite.unit_tests.package_checking import PackageTestCase 28 import lib 29 3032 """Unit tests for the lib package.""" 334935 """Set up for the package checking.""" 36 37 self.package = lib 38 self.package_name = 'lib' 39 self.package_path = sys.path[0] + sep + 'lib' 40 41 # Mac OS X application fix: Handle the py2app extension placing the Python directories into Resources/lib/python2.7 (Resources/lib is the relax lib package). 42 self.blacklist = ['python2.7']43 4446 """Just be sure that the correct package is loaded.""" 47 48 self.assertTrue('model_selection' in self.package.__all__)
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 8 10:45:27 2024 | http://epydoc.sourceforge.net |