mailr26254 - /trunk/test_suite/gui_tests/test_user_functions.py


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

Header


Content

Posted by edward on October 13, 2014 - 14:25:
Author: bugman
Date: Mon Oct 13 14:25:26 2014
New Revision: 26254

URL: http://svn.gna.org/viewcvs/relax?rev=26254&view=rev
Log:
Fix for the poorly written User_functions.test_structure_add_atom GUI test.

This fixes one part of 2 of the bug #22772 (https://gna.org/bugs/?22772), the 
modelfree4 binary
issue and the User_functions GUI tests with wxPython 2.9 failures of the test 
suite.

The problem was that a list element was being set in the GUI test, but that 
element did not exist
yet.  Somehow this worked in wxPython 2.8.  But the bad code failed on 
wxPython 2.9.


Modified:
    trunk/test_suite/gui_tests/test_user_functions.py

Modified: trunk/test_suite/gui_tests/test_user_functions.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/test_user_functions.py?rev=26254&r1=26253&r2=26254&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/test_user_functions.py   (original)
+++ trunk/test_suite/gui_tests/test_user_functions.py   Mon Oct 13 14:25:26 
2014
@@ -251,6 +251,7 @@
             sys.stdout.write("Value: %40s;  " % repr(val))
             uf.page.uf_args['pos'].SetValue(str_to_gui(''))
             uf.page.uf_args['pos'].selection_win_show()
+            uf.page.uf_args['pos'].sel_win.add_element()
             uf.page.uf_args['pos'].sel_win.sequence.SetStringItem(index=1, 
col=1, label=str_to_gui(val))
             uf.page.uf_args['pos'].sel_win.sequence.SetStringItem(index=0, 
col=1, label=int_to_gui(1))
             uf.page.uf_args['pos'].selection_win_data()




Related Messages


Powered by MHonArc, Updated Mon Oct 13 15:20:02 2014