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 with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/gui/
@@ -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.
You can’t perform that action at this time.