'Overridable method to get the response from the endpoint that is being tested.'

def get_response(self, usage_key, url_encoded_params=None):

    url = reverse('render_xblock', kwargs={'usage_key_string': unicode(usage_key)})
    if url_encoded_params:
        url += ('?' + url_encoded_params)
    return self.client.get(url)
