summaryrefslogtreecommitdiff
path: root/tests/test_env.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-07 21:41:03 +0100
committerGeorg Brandl <georg@python.org>2010-01-07 21:41:03 +0100
commitb1c937f0d9288a7033feb0feff05cc621667a008 (patch)
tree6bdd77acf8c3695f3cba5e0e80f13dfc1d8612cc /tests/test_env.py
parent5e17487b7434576d9b8d838e98854d40530fd334 (diff)
parent75be813edc7d2323dc97b48b1f10ed7f353d6a11 (diff)
downloadsphinx-git-b1c937f0d9288a7033feb0feff05cc621667a008.tar.gz
merge with trunk (not working perfectly yet)
Diffstat (limited to 'tests/test_env.py')
-rw-r--r--tests/test_env.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_env.py b/tests/test_env.py
index f13e51db8..c863b52fd 100644
--- a/tests/test_env.py
+++ b/tests/test_env.py
@@ -43,6 +43,8 @@ def test_first_update():
for docname in it: # the generator does all the work
docnames.add(docname)
assert docnames == env.found_docs == set(env.all_docs)
+ # test if exclude_patterns works ok
+ assert 'subdir/excluded' not in env.found_docs
def test_images():
assert warning_emitted('images.txt', 'image file not readable: foo.png')