Skip to content


Fix multiple input parameter type detection for graphical unit test g…
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric Ribreux authored and Médéric RIBREUX committed May 29, 2016
1 parent 222935b commit 48d45fb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion python/plugins/processing/gui/
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,18 @@ def createTest(text):
elif isinstance(param, ParameterMultipleInput):
multiparams = token[1:-1].split(';')
newparam = []

# Handle datatype detection
dataType = param.dataType()
if dataType in ['points', 'lines', 'polygons', 'any vectors']:
dataType = 'vector'
dataType = 'raster'

for mp in multiparams:
schema, filepath = extractSchemaPath(mp)
'type': 'vector',
'type': dataType,
'name': filepath
p = {
Expand Down

0 comments on commit 48d45fb

Please sign in to comment.