Created by: jozo
I used pytest's parametrize decorator to save bunch of lines of code. I had to also change cantRunTask to correctly return an error when task doesn't have dryrun input defined.
One more idea. I think we should not use negation in function name. Are you ok @aszs with renaming cantRunTask to not canRunTask?