Skip to content
Permalink
Browse files

Fix some issues when creating processing tests

  • Loading branch information
nyalldawson committed Aug 20, 2017
1 parent 2a6847e commit 99fd727baba8963ac7616ce5ce95a6fb305b278d
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/processing/gui/TestTools.py
@@ -153,6 +153,9 @@ def createTest(text):
if param.flags() & QgsProcessingParameterDefinition.FlagHidden or param.isDestination():
continue

if not param.name() in parameters:
continue

i += 1
token = parameters[param.name()]
# Handle empty parameters that are optionals
@@ -180,7 +183,7 @@ def createTest(text):

params[param.name()] = p
elif isinstance(param, QgsProcessingParameterMultipleLayers):
multiparams = token.split(';')
multiparams = token
newparam = []

# Handle datatype detection

0 comments on commit 99fd727

Please sign in to comment.
You can’t perform that action at this time.