'Verify that course_cohort_settings_handler return HTTP 400 if required data field is missing from post data.'

def test_update_settings_with_missing_field(self):

    config_course_cohorts(self.course, is_cohorted=True)
    response = self.patch_handler(self.course, expected_response_code=400, handler=course_cohort_settings_handler)
    self.assertEqual('Bad    Request', response.get('error'))
