Author: bugman Date: Fri Mar 22 23:08:52 2013 New Revision: 19021 URL: http://svn.gna.org/viewcvs/relax?rev=19021&view=rev Log: Set up the unit testing infrastructure for the lib.nmr package. Added: trunk/test_suite/unit_tests/_lib/_nmr/ trunk/test_suite/unit_tests/_lib/_nmr/__init__.py trunk/test_suite/unit_tests/_lib/_nmr/test___init__.py Added: trunk/test_suite/unit_tests/_lib/_nmr/__init__.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/_nmr/__init__.py?rev=19021&view=auto ============================================================================== --- trunk/test_suite/unit_tests/_lib/_nmr/__init__.py (added) +++ trunk/test_suite/unit_tests/_lib/_nmr/__init__.py Fri Mar 22 23:08:52 2013 @@ -1,0 +1,25 @@ +############################################################################### +# # +# Copyright (C) 2013 Edward d'Auvergne # +# # +# This file is part of the program relax (http://www.nmr-relax.com). # +# # +# This program 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 3 of the License, or # +# (at your option) any later version. # +# # +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. # +# # +############################################################################### + + +__all__ = [ + 'test___init__' +] Added: trunk/test_suite/unit_tests/_lib/_nmr/test___init__.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/_nmr/test___init__.py?rev=19021&view=auto ============================================================================== --- trunk/test_suite/unit_tests/_lib/_nmr/test___init__.py (added) +++ trunk/test_suite/unit_tests/_lib/_nmr/test___init__.py Fri Mar 22 23:08:52 2013 @@ -1,0 +1,39 @@ +############################################################################### +# # +# Copyright (C) 2009-2013 Edward d'Auvergne # +# # +# This file is part of the program relax (http://www.nmr-relax.com). # +# # +# This program 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 3 of the License, or # +# (at your option) any later version. # +# # +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. # +# # +############################################################################### + +# Python module imports. +from os import sep +import sys + +# relax module imports. +from test_suite.unit_tests.package_checking import PackageTestCase +import lib.geometry + + +class Test___init__(PackageTestCase): + """Unit tests for the lib.nmr package.""" + + def setUp(self): + """Set up for the package checking.""" + + self.package = lib.nmr + self.package_name = 'lib.nmr' + self.package_path = sys.path[0] + sep + 'lib' + sep + 'nmr'