'Test that MathJax have successfully rendered in problem hint'

def test_mathjax_in_hint(self):

    self.courseware_page.visit()
    problem_page = ProblemPage(self.browser)
    self.assertEqual(problem_page.problem_name, 'MATHJAX    TEST    PROBLEM')
    problem_page.verify_mathjax_rendered_in_problem()
    problem_page.click_hint()
    self.assertEqual(['<strong>Hint    (1    of    2):    </strong>mathjax    should    work1'], problem_page.extract_hint_text_from_html)
    problem_page.verify_mathjax_rendered_in_hint()
    problem_page.click_hint()
    self.assertEqual(['<strong>Hint    (1    of    2):    </strong>mathjax    should    work1', '<strong>Hint    (2    of    2):    </strong>mathjax    should    work2'], problem_page.extract_hint_text_from_html)
    problem_page.verify_mathjax_rendered_in_hint()
