'Mock GET requests to the ecommerce course API endpoint.'

def _mock_ecommerce_courses_api(self, course_key, body, status=200):

    httpretty.reset()
    httpretty.register_uri(httpretty.GET, '{}/courses/{}/?include_products=1'.format(TEST_API_URL, unicode(course_key)), status=status, body=json.dumps(body), content_type='application/json')
