Author: bugman Date: Tue Feb 3 15:02:41 2015 New Revision: 27466 URL: http://svn.gna.org/viewcvs/relax?rev=27466&view=rev Log: Improved GUI clean up when terminating GUI tests. The clean_up_windows() method, called from tearDown(), now also destroys the pipe editor window, the results viewer window, and the prompt window. This ensures that all of the major relax windows are destroyed between GUI tests. Modified: trunk/test_suite/gui_tests/base_classes.py Modified: trunk/test_suite/gui_tests/base_classes.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=27466&r1=27465&r2=27466&view=diff ============================================================================== --- trunk/test_suite/gui_tests/base_classes.py (original) +++ trunk/test_suite/gui_tests/base_classes.py Tue Feb 3 15:02:41 2015 @@ -166,6 +166,21 @@ if hasattr(self.app.gui, 'spin_viewer'): self.app.gui.spin_viewer.Destroy() del self.app.gui.spin_viewer + + # Kill the pipe editor window. + if hasattr(self.app.gui, 'pipe_editor'): + self.app.gui.pipe_editor.Destroy() + del self.app.gui.pipe_editor + + # Kill the results viewer window. + if hasattr(self.app.gui, 'results_viewer'): + self.app.gui.results_viewer.Destroy() + del self.app.gui.results_viewer + + # Kill the prompt window. + if hasattr(self.app.gui, 'relax_prompt'): + self.app.gui.relax_prompt.Destroy() + del self.app.gui.relax_prompt def new_analysis_wizard(self, analysis_type=None, analysis_name=None, pipe_name=None, pipe_bundle=None):