Website: add template and basic stylesheet with menu. Update buildhtml.py (and theref...
[docutils.git] / sandbox / gitpull / web_stylesheet_and_menu / test / test_parsers / test_rst / test_directives / test_title.py
blobc76a8c0ef9d540461fb12755a20881a1b4a437b9
1 #! /usr/bin/env python
3 # $Id$
4 # Author: Lea Wiemann <LeWiemann@gmail.com>
5 # Copyright: This module has been placed in the public domain.
7 """
8 Tests for the 'title' directive.
9 """
11 from __init__ import DocutilsTestSupport
13 def suite():
14 s = DocutilsTestSupport.ParserTestSuite()
15 s.generateTests(totest)
16 return s
18 totest = {}
20 totest['title'] = [
21 ["""\
22 .. title:: This is the document title.
23 """,
24 """\
25 <document source="test data" title="This is the document title.">
26 """],
30 if __name__ == '__main__':
31 import unittest
32 unittest.main(defaultTest='suite')