commit/galaxy-central: jmchilton: Functional tool test fix.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5e534cc8da85/ Changeset: 5e534cc8da85 User: jmchilton Date: 2013-11-17 09:03:28 Summary: Functional tool test fix. No tests with a repeat and min=1 were ever going to past. Affected #: 1 file diff -r ef9968a089db28349b22c302ca07e9aa152bfe51 -r 5e534cc8da856ad598d63b8b9f03fe20629df05f test/functional/test_toolbox.py --- a/test/functional/test_toolbox.py +++ b/test/functional/test_toolbox.py @@ -93,7 +93,8 @@ repeat_name = None for input_name, input_value in testdef.tool.inputs_by_page[0].items(): 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 + if not input_value.min: # If input_value.min == 1, the element is already on the page don't add new element. + 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)
-
commits-noreply@bitbucket.org