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

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

    lti_launch_url = reverse('lti_provider_launch', kwargs={'course_id': unicode(self.course.id), 'usage_id': unicode(usage_key)})
    if url_encoded_params:
        lti_launch_url += ('?' + url_encoded_params)
    return self.client.post(lti_launch_url, data=LTI_DEFAULT_PARAMS)
