'Register a mock response for PUT and DELETE on the CS comment votes
endpoint'

def register_comment_votes_response(self, comment_id):

    for method in [httpretty.PUT, httpretty.DELETE]:
        httpretty.register_uri(method, u'http://localhost:4567/api/v1/comments/{}/votes'.format(comment_id), body=json.dumps({}), status=200)
