'Verify that the jump-to URL has been replaced.'

@ddt.data(u'course_mongo', u'course_split')
def test_replace_jump_to_id_urls(self, course_id):

    course = getattr(self, course_id)
    test_replace = replace_jump_to_id_urls(course_id=course.id, jump_to_id_base_url=u'/base_url/', block=course, view=u'baseview', frag=Fragment(u'<a    href="/jump_to_id/id">'), context=None)
    self.assertIsInstance(test_replace, Fragment)
    self.assertEqual(test_replace.content, u'<a    href="/base_url/id">')
