'Test to patch a ccx course to change a master course'

@ddt.data(*AUTH_ATTRS)
def test_patch_detail_change_master_course(self, auth_attr):

    data = {'master_course_id': 'changed_course_id'}
    resp = self.client.patch(self.detail_url, data, format='json', HTTP_AUTHORIZATION=getattr(self, auth_attr))
    self.expect_error(status.HTTP_403_FORBIDDEN, 'master_course_id_change_not_allowed', resp)
