Negative functional test added.

This commit is contained in:
Aaron Tan
2017-03-20 12:05:35 -04:00
parent 2edd4b338d
commit 2e2d88516e
2 changed files with 25 additions and 4 deletions

View File

@@ -300,8 +300,6 @@ class JobTemplate(UnifiedJobTemplate, JobOptions, SurveyJobTemplateMixin, Resour
Return whether job template can be used to start a new job without
requiring any user input.
'''
# It is worthwhile to find out if this function is now only used by
# provisioning callback.
variables_needed = False
if callback_extra_vars:
extra_vars_dict = parse_yaml_or_json(callback_extra_vars)