mailr16494 - /branches/uf_redesign/test_suite/gui_tests/base_classes.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 29, 2012 - 10:04:
Author: bugman
Date: Tue May 29 10:04:12 2012
New Revision: 16494

URL: http://svn.gna.org/viewcvs/relax?rev=16494&view=rev
Log:
The GUI tests _execute_uf() base method now simulates a click on the 'ok' 
button.

This gives the user function wizards a much deeper work out.


Modified:
    branches/uf_redesign/test_suite/gui_tests/base_classes.py

Modified: branches/uf_redesign/test_suite/gui_tests/base_classes.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/gui_tests/base_classes.py?rev=16494&r1=16493&r2=16494&view=diff
==============================================================================
--- branches/uf_redesign/test_suite/gui_tests/base_classes.py (original)
+++ branches/uf_redesign/test_suite/gui_tests/base_classes.py Tue May 29 
10:04:12 2012
@@ -141,8 +141,8 @@
         # Call the GUI user function object with all keyword args, but do 
not execute the wizard.
         uf(wx_wizard_run=False, **kargs)
 
-        # Execute the user function.
-        uf.page.on_execute()
+        # Execute the user function, by mimicking a click on 'ok'.
+        uf.wizard._ok()
 
         # Restore the synchronous or asynchronous operation of the user 
functions so the GUI can return to normal.
         status.gui_uf_force_sync = False




Related Messages


Powered by MHonArc, Updated Tue May 29 10:20:02 2012