'Submit an HTTP GET request to the view for the given course.
Validates the status_code of the response is as expected.'

def assert_get_for_course(self, course_id=None, expected_status_code=200, **headers):

    response = self.http_get(reverse(self.view_name, kwargs={'course_id': (course_id or self.course_id)}), **headers)
    self.assertEqual(response.status_code, expected_status_code)
    return response
