'Test that the React course listing is present.'

def check_courses_on_index(self, authed_client):

    index_url = '/home/'
    index_response = authed_client.get(index_url, {}, HTTP_ACCEPT='text/html')
    parsed_html = lxml.html.fromstring(index_response.content)
    courses_tab = parsed_html.find_class('react-course-listing')
    self.assertEqual(len(courses_tab), 1)
