'Verify the update endpoint supports creating a new CreditCourse object.'

def test_put_as_create(self):

    course_id = u'd/e/f'
    enabled = True
    data = {u'course_key': unicode(course_id), u'enabled': enabled}
    path = reverse(u'credit:creditcourse-detail', args=[course_id])
    response = self.client.put(path, data=json.dumps(data), content_type=JSON)
    self.assert_course_created(course_id, response)
