mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Functional tool test fix.
No tests with a repeat and min=1 were ever going to past.
This commit is contained in:
@@ -93,7 +93,8 @@ class ToolTestCase( TwillTestCase ):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user