Author: bugman
Date: Tue Feb  3 17:37:24 2015
New Revision: 27490

URL: http://svn.gna.org/viewcvs/relax?rev=27490&view=rev
Log:
The relax prompt window is now being destroyed by the GUI test suite tearDown() 
method.

The window is first closed in the tearDown() method and then destroyed in the 
clean_up_windows()
method.


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=27490&r1=27489&r2=27490&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/base_classes.py  (original)
+++ trunk/test_suite/gui_tests/base_classes.py  Tue Feb  3 17:37:24 2015
@@ -176,6 +176,11 @@
         if hasattr(self.app.gui, 'results_viewer'):
             self.app.gui.results_viewer.Destroy()
             del self.app.gui.results_viewer
+
+        # Kill the relax 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):
@@ -290,6 +295,8 @@
             self.app.gui.pipe_editor.Close()
         if hasattr(self.app.gui, 'results_viewer'):
             self.app.gui.results_viewer.Close()
+        if hasattr(self.app.gui, 'relax_prompt'):
+            self.app.gui.relax_prompt.Close()
         wx.Yield()
 
         # Kill all windows.


_______________________________________________
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

Reply via email to