Author: bugman
Date: Tue Feb 3 15:38:48 2015
New Revision: 27472
URL: http://svn.gna.org/viewcvs/relax?rev=27472&view=rev
Log:
Improved termination of the GUI tests.
The clean_up_windows() method now calls the results viewer and pipe editor
window handler_close()
methods. This ensures that all observer objects are cleared out so that the
methods of the dead
windows can no longer be called.
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=27472&r1=27471&r2=27472&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/base_classes.py (original)
+++ trunk/test_suite/gui_tests/base_classes.py Tue Feb 3 15:38:48 2015
@@ -169,11 +169,13 @@
# Kill the pipe editor window.
if hasattr(self.app.gui, 'pipe_editor'):
+ self.app.gui.pipe_editor.handler_close()
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.handler_close()
self.app.gui.results_viewer.Destroy()
del self.app.gui.results_viewer
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits