'Register a mock response for PUT on the CS endpoint for the given
comment data (which must include the key "id").'

def register_put_comment_response(self, comment_data):

    thread_id = comment_data[u'thread_id']
    parent_id = comment_data.get(u'parent_id')
    httpretty.register_uri(httpretty.PUT, u'http://localhost:4567/api/v1/comments/{}'.format(comment_data[u'id']), body=_get_comment_callback(comment_data, thread_id, parent_id))
