Skip to content
Browse files
[processing] Fix creating tests when alg has optional outputs
  • Loading branch information
nyalldawson committed Jan 23, 2018
1 parent a530b21 commit 40f09fab8598bd698d8ccaecf463b81a5cd1442b
Showing 1 changed file with 3 additions and 0 deletions.
@@ -246,6 +246,9 @@ def createTest(text):
definition['params'] = params

for i, out in enumerate([out for out in alg.destinationParameterDefinitions() if not out.flags() & QgsProcessingParameterDefinition.FlagHidden]):
if not in parameters:

token = parameters[]

if isinstance(out, QgsProcessingParameterRasterDestination):

0 comments on commit 40f09fa

Please sign in to comment.