Author: tlinnet Date: Tue Sep 9 18:18:13 2014 New Revision: 25719 URL: http://svn.gna.org/viewcvs/relax?rev=25719&view=rev Log: Added systemtest Relax_disp.test_repeat_cpmg to be skipped, if no matplotlib module exists. Task #7826 (https://gna.org/task/index.php?7826): Write an python class for the repeated analysis of dispersion data. Modified: trunk/test_suite/system_tests/relax_disp.py Modified: trunk/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/relax_disp.py?rev=25719&r1=25718&r2=25719&view=diff ============================================================================== --- trunk/test_suite/system_tests/relax_disp.py (original) +++ trunk/test_suite/system_tests/relax_disp.py Tue Sep 9 18:18:13 2014 @@ -121,6 +121,17 @@ # Store in the status object. if methodName in to_skip: status.skipped_tests.append([methodName, 'NMRPipe showApod program', self._skip_type]) + + # If not matplotlib module + if not dep_check.matplotlib_module: + # The list of tests to skip. + to_skip = [ + "test_repeat_cpmg" + ] + + # Store in the status object. + if methodName in to_skip: + status.skipped_tests.append([methodName, 'matplotlib module', self._skip_type]) def setUp(self):