'Make a thread with appropriate data overridden by the overrides
parameter and register mock responses for both GET and DELETE on its
endpoint.'

def register_thread(self, overrides=None):

    cs_data = make_minimal_cs_thread({'id': self.thread_id, 'course_id': unicode(self.course.id), 'user_id': str(self.user.id)})
    cs_data.update((overrides or {}))
    self.register_get_thread_response(cs_data)
    self.register_delete_thread_response(cs_data['id'])
