Author: bugman Date: Tue Feb 10 13:24:55 2015 New Revision: 27620 URL: http://svn.gna.org/viewcvs/relax?rev=27620&view=rev Log: Fix for the Structure.test_atomic_fluctuations_no_match system test. The structure.atomic_fluctuations user function will now raise a RelaxError when no data corresponding to the atom ID can be found, so the test now checks for this. Modified: trunk/test_suite/system_tests/structure.py Modified: trunk/test_suite/system_tests/structure.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=27620&r1=27619&r2=27620&view=diff ============================================================================== --- trunk/test_suite/system_tests/structure.py (original) +++ trunk/test_suite/system_tests/structure.py Tue Feb 10 13:24:55 2015 @@ -573,11 +573,7 @@ # Run the structure.atomic_fluctuations user function and collect the results in a dummy file object. file = DummyFileObject() - self.interpreter.structure.atomic_fluctuations(atom_id='@X', file=file, format='text') - - # Check the file. - lines = file.readlines() - self.assertEqual(len(lines), 0) + self.assertRaises(RelaxError, self.interpreter.structure.atomic_fluctuations, atom_id='@X', file=file, format='text') def test_atomic_fluctuations_parallax(self):