<filename>requirements/docutils-0.18/test/test_parsers/test_rst/test_directives/test_title.py
#! /usr/bin/env python

# $Id: test_title.py 8481 2020-01-31 08:17:24Z milde $
# Author: <NAME> <<EMAIL>>
# Copyright: This module has been placed in the public domain.

"""
Tests for the 'title' directive.
"""
from __future__ import absolute_import

if __name__ == '__main__':
    import __init__
from test_parsers import DocutilsTestSupport


def suite():
    s = DocutilsTestSupport.ParserTestSuite()
    s.generateTests(totest)
    return s

totest = {}

totest['title'] = [
["""\
.. title:: This is the document title.
""",
"""\
<document source="test data" title="This is the document title.">
"""],
]


if __name__ == '__main__':
    import unittest
    unittest.main(defaultTest='suite')

<filename>requirements/docutils-0.18/test/test_parsers/test_rst/test_directives/test_title.py
#! /usr/bin/env python

# $Id: test_title.py 8481 2020-01-31 08:17:24Z milde $
# Author: <NAME> <<EMAIL>>
# Copyright: This module has been placed in the public domain.

"""
Tests for the 'title' directive.
"""
from __future__ import absolute_import

if __name__ == '__main__':
    import __init__
from test_parsers import DocutilsTestSupport


def suite():
    s = DocutilsTestSupport.ParserTestSuite()
    s.generateTests(totest)
    return s

totest = {}

totest['title'] = [
["""\
.. title:: This is the document title.
""",
"""\
<document source="test data" title="This is the document title.">
"""],
]


if __name__ == '__main__':
    import unittest
    unittest.main(defaultTest='suite')

#! /usr/bin/env python # $Id: test_title.py 8481 2020-01-31 08:17:24Z milde $ # Author: <NAME> <<EMAIL>> # Copyright: This module has been placed in the public domain. Tests for the 'title' directive. \ .. title:: This is the document title. \ <document source="test data" title="This is the document title.">