def _expect(self, input, expected_output):
     ag = PseudoArticleGenerator()
     art = PseudoArticle()
     art._content = input
     ag.articles = [art]
     parse_for_footnotes(ag)
     self.assertEqual(art._content, expected_output)
 def _expect(self, input, expected_output):
     ag = PseudoArticleGenerator()
     art = PseudoArticle()
     art._content = input
     ag.articles = [art]
     parse_for_footnotes(ag)
     self.assertEqual(art._content, expected_output)