Author: bugman Date: Fri Jul 4 01:21:49 2008 New Revision: 6650 URL: http://svn.gna.org/viewcvs/relax?rev=6650&view=rev Log: Added a system test for the reading of an empty results file. This should test out all reading compatibility issues in all analysis types. Modified: 1.3/test_suite/system_tests/results.py Modified: 1.3/test_suite/system_tests/results.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/results.py?rev=6650&r1=6649&r2=6650&view=diff ============================================================================== --- 1.3/test_suite/system_tests/results.py (original) +++ 1.3/test_suite/system_tests/results.py Fri Jul 4 01:21:49 2008 @@ -21,6 +21,7 @@ ############################################################################### # Python module imports. +import sys from unittest import TestCase # relax module imports. @@ -43,6 +44,13 @@ ds.__reset__() + def test_read_empty_results(self): + """Test the reading of an empty results file.""" + + # Read the results. + self.relax.interpreter._Results.read(file='empty', dir=sys.path[-1] + '/test_suite/shared_data/results_files/') + + def test_write_empty_results(self): """Test the writing of an empty results file."""