Merge pull request #198 from cchurch/options_meta_updates

Update field metadata returned in OPTIONS response
This commit is contained in:
Chris Church
2015-05-12 17:24:31 -04:00
7 changed files with 74 additions and 30 deletions
+1 -1
View File
@@ -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)