Author: bugman Date: Fri Apr 4 14:52:25 2008 New Revision: 5298 URL: http://svn.gna.org/viewcvs/relax?rev=5298&view=rev Log: Fixed the test_read_pdb_argfail_load_seq() unit test. Modified: 1.3/test_suite/unit_tests/_prompt/test_structure.py Modified: 1.3/test_suite/unit_tests/_prompt/test_structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_structure.py?rev=5298&r1=5297&r2=5298&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_prompt/test_structure.py (original) +++ 1.3/test_suite/unit_tests/_prompt/test_structure.py Fri Apr 4 14:52:25 2008 @@ -26,7 +26,7 @@ # relax module imports. from data import Data as relax_data_store from prompt.structure import Structure -from relax_errors import RelaxBinError, RelaxFloatError, RelaxNoneIntError, RelaxNoneStrError, RelaxNumError, RelaxStrError +from relax_errors import RelaxBinError, RelaxBoolError, RelaxFloatError, RelaxNoneIntError, RelaxNoneStrError, RelaxNumError, RelaxStrError from test_suite.unit_tests.structure_testing_base import Structure_base_class # Unit test imports. @@ -202,12 +202,12 @@ # Loop over the data types. for data in DATA_TYPES: - # Catch the bin arguments, and skip them. - if data[0] == 'bin': - continue - - # The argument test. - self.assertRaises(RelaxBinError, self.structure_fns.read_pdb, file='test.pdb', load_seq=data[1]) + # Catch the bool arguments, and skip them. + if data[0] == 'bool': + continue + + # The argument test. + self.assertRaises(RelaxBoolError, self.structure_fns.read_pdb, file='test.pdb', load_seq=data[1]) def test_vectors_argfail_heteronuc(self):