mailr23572 - /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 May 28, 2014 - 20:31:
Author: bugman
Date: Wed May 28 20:31:19 2014
New Revision: 23572

URL: http://svn.gna.org/viewcvs/relax?rev=23572&view=rev
Log:
Fix for the User_functions.test_spectrum_read_intensities GUI test.

A valid value was being checked as invalid.


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=23572&r1=23571&r2=23572&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/test_user_functions.py   (original)
+++ trunk/test_suite/gui_tests/test_user_functions.py   Wed May 28 20:31:19 
2014
@@ -182,7 +182,7 @@
         self.assertEqual(file[1], 'test2')
 
         # Set the file to a number of invalid values, checking that they are 
ignored.
-        for val in ["['1', '2', '3'", "['1'", "[['1'], ['2'], ['1', '2', 
'3']]"]:
+        for val in ["['1', '2', '3'", "['1'"]:
             uf.page.uf_args['file'].SetValue(str_to_gui(val))
             uf.page.uf_args['file'].selection_win_show()
             uf.page.uf_args['file'].selection_win_data()




Related Messages


Powered by MHonArc, Updated Wed May 28 20:40:03 2014