Author: bugman Date: Fri Jul 29 09:59:57 2011 New Revision: 13983 URL: http://svn.gna.org/viewcvs/relax?rev=13983&view=rev Log: Created a basic system test checking the reading of a non-PDB file by structure.read_pdb. Modified: 1.3/test_suite/system_tests/structure.py Modified: 1.3/test_suite/system_tests/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/structure.py?rev=13983&r1=13982&r2=13983&view=diff ============================================================================== --- 1.3/test_suite/system_tests/structure.py (original) +++ 1.3/test_suite/system_tests/structure.py Fri Jul 29 09:59:57 2011 @@ -153,6 +153,16 @@ i = i + 1 + def test_read_not_pdb(self): + """Test the reading of a file by structure.read_pdb that is not a PDB.""" + + # Path of the files. + path = status.install_path + sep+'test_suite'+sep+'shared_data'+sep+'saved_states' + + # Read the non-PDB file. + self.interpreter.structure.read_pdb(file='basic_single_pipe.bz2', dir=path, parser='internal') + + def test_read_pdb_internal1(self): """Load the '1F35_N_H_molmol.pdb' PDB file (using the internal structural object PDB reader)."""