summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-11-09 20:43:36 +0100
committerGeorg Brandl <georg@python.org>2008-11-09 20:43:36 +0100
commit9f96010e91fe9f168dc760a348ac0bd3a237b35c (patch)
treec58ab91a897f43287f6e137f0fb635e684d99ef2 /tests
parentd0d960d5f8c719b4e8a1694174e7b4d0e147474c (diff)
downloadsphinx-9f96010e91fe9f168dc760a348ac0bd3a237b35c.tar.gz
Add classes to toctree items that indicate depth.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index c62c2f8c..069d7116 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -70,6 +70,8 @@ HTML_XPATH = {
'contents.html': {
".//meta[@name='hc'][@content='hcval']": '',
".//td[@class='label']": '[Ref1]',
+ ".//li[@class='toctree-l1']/a": 'Testing various markup',
+ ".//li[@class='toctree-l2']/a": 'Admonitions',
},
}