summaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-24 13:38:15 +0100
committerGeorg Brandl <georg@python.org>2009-02-24 13:38:15 +0100
commitfb511a015aa47c943c5dc1286f58743fca307b1c (patch)
tree737f4a288eaaf69898c3139fdb0c79499c4bf910 /tests/test_build.py
parent29247f0896fc66a54d2fe77d05d32b0786c84a18 (diff)
downloadsphinx-git-fb511a015aa47c943c5dc1286f58743fca307b1c.tar.gz
Paths to literal include files and download files can now be absolute too.
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index b9d2c7793..f451b3052 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -70,6 +70,11 @@ HTML_XPATH = {
".//img[@src='../_images/img1.png']": '',
".//img[@src='../_images/rimg.png']": '',
},
+ 'subdir/includes.html': {
+ ".//pre/span": 'line 1',
+ ".//pre/span": 'line 2',
+ ".//a[@href='../_downloads/img.png']": '',
+ },
'includes.html': {
".//pre": u'Max Strauß',
".//a[@href='_downloads/img.png']": '',