Author: bugman Date: Thu Jan 15 11:53:55 2009 New Revision: 8465 URL: http://svn.gna.org/viewcvs/relax?rev=8465&view=rev Log: Fix for the test_load_pdb() unit test, in the check of the molecule name. Modified: branches/multi_structure/test_suite/unit_tests/_generic_fns/_structure/test_internal.py Modified: branches/multi_structure/test_suite/unit_tests/_generic_fns/_structure/test_internal.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_structure/test_suite/unit_tests/_generic_fns/_structure/test_internal.py?rev=8465&r1=8464&r2=8465&view=diff ============================================================================== --- branches/multi_structure/test_suite/unit_tests/_generic_fns/_structure/test_internal.py (original) +++ branches/multi_structure/test_suite/unit_tests/_generic_fns/_structure/test_internal.py Thu Jan 15 11:53:55 2009 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2008 Edward d'Auvergne # +# Copyright (C) 2008-2009 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -221,7 +221,7 @@ self.assertEqual(len(self.data.structural_data), 1) self.assertEqual(len(model.mol), 1) self.assertEqual(model.num, 1) - self.assertEqual(mol.mol_name, self.test_pdb_root+'_mol1') + self.assertEqual(mol.name, self.test_pdb_root+'_mol1') self.assertEqual(mol.file_name, self.test_pdb_file_name) self.assertEqual(mol.file_path, self.test_pdb_dir) self.assertEqual(mol.file_model, 1)