commit/galaxy-central: dan: Allow toolbox tests to test 0 instances of a repeat.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/2ed732bca4f6/ changeset: 2ed732bca4f6 user: dan date: 2011-10-20 16:03:28 summary: Allow toolbox tests to test 0 instances of a repeat. affected #: 1 file (-1 bytes) --- a/test/functional/test_toolbox.py Thu Oct 20 09:37:02 2011 -0400 +++ b/test/functional/test_toolbox.py Thu Oct 20 10:03:28 2011 -0400 @@ -59,7 +59,7 @@ # See if we have a grouping.Repeat element repeat_name = None for input_name, input_value in testdef.tool.inputs_by_page[0].items(): - if isinstance( input_value, grouping.Repeat ): + if isinstance( input_value, grouping.Repeat ) and all_inputs.get( input_name, 1 ) not in [ 0, "0" ]: #default behavior is to test 1 repeat, for backwards compatibility repeat_name = input_name break #check if we need to verify number of outputs created dynamically by tool Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket