summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
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']", ''),