[processing] Some test debugging help

This commit is contained in:
Nyall Dawson 2018-06-01 09:22:18 +10:00
parent 46a4c23648
commit e273ac2815

View File

@ -117,6 +117,8 @@ class AlgorithmsTest(object):
feedback = QgsProcessingFeedback()
print('Algorithm parameters are {}'.format(parameters))
# first check that algorithm accepts the parameters we pass...
ok, msg = alg.checkParameterValues(parameters, context)
self.assertTrue(ok, 'Algorithm failed checkParameterValues with result {}'.format(msg))