From 0af15cd13d41a3e5e5cfd3ebd8e01cd19c561dff Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 12 May 2015 11:11:32 -0400 Subject: [PATCH] Unit test fix, job_type is no longer a required field (defaults to 'run'). --- awx/main/tests/jobs/jobs_monolithic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/jobs/jobs_monolithic.py b/awx/main/tests/jobs/jobs_monolithic.py index f5851c5dbf..589ae3bb8a 100644 --- a/awx/main/tests/jobs/jobs_monolithic.py +++ b/awx/main/tests/jobs/jobs_monolithic.py @@ -280,7 +280,7 @@ class JobTemplateTest(BaseJobTestMixin, django.test.TestCase): # Test that all required fields are really required. data['name'] = 'another new job template' - for field in ('name', 'job_type', 'inventory', 'project', 'playbook'): + for field in ('name', 'inventory', 'project', 'playbook'): with self.current_user(self.user_sue): d = dict(data.items()) d.pop(field)