summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 00:35:27 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 00:35:27 +0100
commit3642b521ed5a8c85faf4b37eb1bc83d6cfa63716 (patch)
treeeed02f129e674a183307a35cd383b9c6f369b6bf /tests/test_build_html.py
parent8fd5bd1e1909ac5c5e857049dafcdcc2975eb90d (diff)
parenteecd8bff03e6617dc3644e319f9447e3320af9c3 (diff)
downloadsphinx-git-3642b521ed5a8c85faf4b37eb1bc83d6cfa63716.tar.gz
merge with 1.0
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index df4d5ad56..446c5a942 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -193,9 +193,13 @@ HTML_XPATH = {
# custom sidebar
(".//h4", 'Custom sidebar'),
# docfields
- (".//td[@class='field-body']/ul/li/strong", '^moo$'),
- (".//td[@class='field-body']/ul/li/strong",
+ (".//td[@class='field-body']/strong", '^moo$'),
+ (".//td[@class='field-body']/strong",
tail_check(r'\(Moo\) .* Moo')),
+ (".//td[@class='field-body']/ul/li/strong", '^hour$'),
+ (".//td[@class='field-body']/ul/li/em", '^DuplicateType$'),
+ (".//td[@class='field-body']/ul/li/em",
+ tail_check(r'.* Some parameter')),
],
'contents.html': [
(".//meta[@name='hc'][@content='hcval']", ''),