Author: bugman Date: Tue Jun 5 15:12:14 2012 New Revision: 16667 URL: http://svn.gna.org/viewcvs/relax?rev=16667&view=rev Log: Fix for the Mf.test_mf_auto_analysis() GUI test. The recent changes registering the user function update_arg() method with the gui_uf observer object means that direct calls to the user function page on_execute() method will no longer work. The wizard needs to be run to completion! Therefore the run() or _ok() methods of the wizard holding the page should be executed instead. Modified: branches/uf_redesign/test_suite/gui_tests/model_free.py Modified: branches/uf_redesign/test_suite/gui_tests/model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/gui_tests/model_free.py?rev=16667&r1=16666&r2=16667&view=diff ============================================================================== --- branches/uf_redesign/test_suite/gui_tests/model_free.py (original) +++ branches/uf_redesign/test_suite/gui_tests/model_free.py Tue Jun 5 15:12:14 2012 @@ -105,13 +105,13 @@ # Set the values, using the methods behind the buttons to set up the user functions with default values, and then manually executing the user function. analysis.value_set_csa() - uf_store['value.set'].page.on_execute() + uf_store['value.set'].wizard._ok() analysis.value_set_r() - uf_store['value.set'].page.on_execute() + uf_store['value.set'].wizard._ok() analysis.value_set_heteronuc_type() - uf_store['value.set'].page.on_execute() + uf_store['value.set'].wizard._ok() analysis.value_set_proton_type() - uf_store['value.set'].page.on_execute() + uf_store['value.set'].wizard._ok() # The unit vector loading wizard. analysis.load_unit_vectors()