Author: bugman
Date: Sat Nov 29 19:44:10 2014
New Revision: 26858
URL: http://svn.gna.org/viewcvs/relax?rev=26858&view=rev
Log:
Fix for the Rx.test_r1_analysis GUI test.
A click on the relax_fit.select_model user function button is now being
simulated.
Modified:
trunk/test_suite/gui_tests/rx.py
Modified: trunk/test_suite/gui_tests/rx.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/rx.py?rev=26858&r1=26857&r2=26858&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/rx.py (original)
+++ trunk/test_suite/gui_tests/rx.py Sat Nov 29 19:44:10 2014
@@ -28,6 +28,7 @@
import dep_check
from gui.interpreter import Interpreter; interpreter = Interpreter()
from gui.string_conv import float_to_gui, float_to_gui, str_to_gui
+from gui.uf_objects import Uf_storage; uf_store = Uf_storage()
from pipe_control.mol_res_spin import spin_loop
from pipe_control.pipes import cdp_name
from status import Status; status = Status()
@@ -196,6 +197,11 @@
# Go to the next page (i.e. finish).
wizard._go_next(None)
+ # Set up the nuclear isotopes.
+ analysis.select_model()
+ uf_store['relax_fit.select_model'].wizard._go_next()
+ interpreter.flush() # Required because of the asynchronous uf call.
+
# Set the number of MC sims.
analysis.mc_sim_num.SetValue(3)
_______________________________________________
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