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

def register_thread_votes_response(self, thread_id):

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