Author: bugman Date: Tue May 22 18:15:38 2012 New Revision: 16403 URL: http://svn.gna.org/viewcvs/relax?rev=16403&view=rev Log: The non-supplied user function args in the GUI tests are now set to the default. This is for the _execute_uf() base method, and is essential for the free file format where the column args must, in many cases, be set to None. 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=16403&r1=16402&r2=16403&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 22 18:15:38 2012 @@ -102,6 +102,18 @@ # Set the keyword arg. kargs[name] = args[i] + # Add the keyword args not supplied, using the default value. + for i in range(len(uf_data.kargs)): + # Alias. + arg = uf_data.kargs[i] + + # Already set. + if arg['name'] in kargs: + continue + + # Set the default. + kargs[arg['name']] = arg['default'] + # Merge the file and directory args, as needed. for i in range(len(uf_data.kargs)): # Alias.