'Register a mock response for PUT on the CS flag endpoints'

def register_flag_response(self, content_type, content_id):

    for path in [u'abuse_flag', u'abuse_unflag']:
        httpretty.register_uri(u'PUT', u'http://localhost:4567/api/v1/{content_type}s/{content_id}/{path}'.format(content_type=content_type, content_id=content_id, path=path), body=json.dumps({}), status=200)
