'Make a thread with appropriate data overridden by the overrides
parameter and register mock responses for GET 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), 'commentable_id': 'test_topic', 'username': self.user.username, 'user_id': str(self.user.id), 'title': 'Test    Title', 'body': 'Test    body', 'resp_total': 0})
    cs_data.update((overrides or {}))
    self.register_get_thread_response(cs_data)
