'Asserts that the given course key is NOT in the unsucceeded course action section of the html.'

def assertInCourseListing(self, course_key):

    course_listing = lxml.html.fromstring(self.client.get_html('/home/').content)
    self.assertEqual(len(self.get_unsucceeded_course_action_elements(course_listing, course_key)), 0)
