Author: bugman
Date: Wed Nov 12 11:47:40 2014
New Revision: 26544

URL: http://svn.gna.org/viewcvs/relax?rev=26544&view=rev
Log:
Bug fix for the Mf.test_bug_21615_incomplete_setup_failure GUI test on MS 
Windows systems.

The GUI interpreter flush() method needs to be called between the two 
structure.load_spins user
function calls.  Without this, the test will freeze on MS Windows.  The 
freezing behaviour is
however not 100% reproducible and is dependent on the Windows version and 
wxPython version.


Modified:
    trunk/test_suite/gui_tests/model_free.py

Modified: trunk/test_suite/gui_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/model_free.py?rev=26544&r1=26543&r2=26544&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/model_free.py    (original)
+++ trunk/test_suite/gui_tests/model_free.py    Wed Nov 12 11:47:40 2014
@@ -206,6 +206,7 @@
         page = 
self.app.gui.spin_viewer.wizard.get_page(self.app.gui.spin_viewer.wizard._current_page)
         page.uf_args['spin_id'].SetValue(str_to_gui('@N'))
         self.app.gui.spin_viewer.wizard._apply()
+        interpreter.flush()    # Required because of the asynchronous uf call.
         page.uf_args['spin_id'].SetValue(str_to_gui('@H'))
         self.app.gui.spin_viewer.wizard._go_next()
         interpreter.flush()    # Required because of the asynchronous uf call.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

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