#! /usr/bin/env python # $Id: test_footnotes.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger # Copyright: This module has been placed in the public domain. """ Tests for docutils.transforms.references.Footnotes. """ from .__init__ import DocutilsTestSupport from docutils.transforms.references import Footnotes from docutils.parsers.rst import Parser def suite(): parser = Parser() s = DocutilsTestSupport.TransformTestSuite(parser) s.generateTests(totest) return s totest = {} totest['footnotes'] = ((Footnotes,), [ ["""\ [#autolabel]_ .. [#autolabel] text """, """\ 1