Author: bugman Date: Tue Nov 20 10:49:40 2007 New Revision: 3627 URL: http://svn.gna.org/viewcvs/relax?rev=3627&view=rev Log: Created by copying a rudimentary set of user function argment tests for prompt.molecule(). Added: 1.3/test_suite/unit_tests/prompt/test_molecule.py - copied, changed from r3626, 1.3/test_suite/unit_tests/prompt/test_spin.py Copied: 1.3/test_suite/unit_tests/prompt/test_molecule.py (from r3626, 1.3/test_suite/unit_tests/prompt/test_spin.py) URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_molecule.py?p2=1.3/test_suite/unit_tests/prompt/test_molecule.py&p1=1.3/test_suite/unit_tests/prompt/test_spin.py&r1=3626&r2=3627&rev=3627&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/prompt/test_spin.py (original) +++ 1.3/test_suite/unit_tests/prompt/test_molecule.py Tue Nov 20 10:49:40 2007 @@ -27,9 +27,9 @@ # relax module imports. from data import Data as relax_data_store from data_types import return_data_types -from prompt.spin import Spin +from prompt.molecule import Molecule from relax_errors import RelaxError, RelaxIntError, RelaxNoPipeError, RelaxNoneStrError, RelaxStrError -from test_suite.unit_tests.spin_testing_base import Spin_base_class +from test_suite.unit_tests.molecule_testing_base import Molecule_base_class # Set the variable sys.ps3 (this is required by the user functions). sys.ps3 = 'relax> ' @@ -45,11 +45,11 @@ relax.interpreter.intro = True -class Test_spin(Spin_base_class, TestCase): +class Test_molecule(Molecule_base_class, TestCase): """Unit tests for the functions of the 'generic_fns.spin' module.""" # Instantiate the user function class. - spin_fns = Spin(relax) + molecule_fns = Molecule(relax) def test_copy_argfail_pipe_from(self):