diff options
| author | Georg Brandl <georg@python.org> | 2009-08-09 23:01:48 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-08-09 23:01:48 +0200 |
| commit | 8ba78e88e73750c604821e3b780db6b4ca983fdc (patch) | |
| tree | b3eff244fa5c48f0445b704d007bb5aab1378758 /tests/test_build.py | |
| parent | 631ccfa3b574374445d4404fd13de5c9ac3c7edc (diff) | |
| download | sphinx-git-8ba78e88e73750c604821e3b780db6b4ca983fdc.tar.gz | |
More tests for inline markup.
Diffstat (limited to 'tests/test_build.py')
| -rw-r--r-- | tests/test_build.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index e4d29319f..f9704fdf8 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -103,9 +103,17 @@ HTML_XPATH = { ".//li/strong": '^program$', ".//li/em": '^dfn$', ".//li/tt/span[@class='pre']": '^kbd$', - ".//a[@href='desc.html#envvar-HOME']/tt/span[@class='pre']": 'HOME', + ".//li/em": u'File \N{TRIANGULAR BULLET} Close', + ".//li/tt/span[@class='pre']": '^a/$', + ".//li/tt/em/span[@class='pre']": '^varpart$', + ".//li/tt/em/span[@class='pre']": '^i$', ".//a[@href='http://www.python.org/dev/peps/pep-0008']/strong": 'PEP 8', ".//a[@href='http://tools.ietf.org/html/rfc1.html']/strong": 'RFC 1', + ".//a[@href='desc.html#envvar-HOME']/tt/span[@class='pre']": 'HOME', + ".//a[@href='#with']/tt/span[@class='pre']": '^with$', + ".//a[@href='#grammar-token-try_stmt']/tt/span": '^statement$', + ".//a[@href='subdir/includes.html']/em": 'Including in subdir', + ".//a[@href='desc.html#cmdoption-python-c']/em": 'Python -c option', # abbreviations ".//abbr[@title='abbreviation']": '^abbr$', # version stuff |
