unit test for node prompt values

This commit is contained in:
AlanCoding
2016-09-27 09:17:51 -04:00
parent 1604e2fd02
commit 549273e90f
3 changed files with 43 additions and 4 deletions
+1 -1
View File
@@ -2290,7 +2290,7 @@ class WorkflowJobTemplateNodeSerializer(WorkflowNodeBaseSerializer):
def extract_char_prompts(self, data):
char_prompts = {}
for fd in ['job_type', 'job_tags', 'skip_tags', 'limit', 'skip_tags']:
for fd in ['job_type', 'job_tags', 'skip_tags', 'limit']:
if data.get(fd, None):
char_prompts[fd] = data[fd]
return char_prompts