summaryrefslogtreecommitdiff
path: root/tests/test_websupport.py
diff options
context:
space:
mode:
authorJacob Mason <jacoblmason@gmail.com>2010-07-30 15:53:02 -0500
committerJacob Mason <jacoblmason@gmail.com>2010-07-30 15:53:02 -0500
commit846ab3a74374a1f7e72d5e7a56857beb8eb494f4 (patch)
tree03c62cef30f95a5d83ff1b94e18ffc9c4062d557 /tests/test_websupport.py
parentf014641405385f8477f221242274c188aab0e172 (diff)
downloadsphinx-git-846ab3a74374a1f7e72d5e7a56857beb8eb494f4.tar.gz
Added DocumentNotFoundError
Diffstat (limited to 'tests/test_websupport.py')
-rw-r--r--tests/test_websupport.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_websupport.py b/tests/test_websupport.py
index d9251eb61..80a4affed 100644
--- a/tests/test_websupport.py
+++ b/tests/test_websupport.py
@@ -13,6 +13,7 @@ import os
from StringIO import StringIO
from sphinx.websupport import WebSupport
+from sphinx.websupport.errors import DocumentNotFoundError
try:
from functools import wraps
@@ -44,4 +45,5 @@ def with_support(*args, **kwargs):
@with_support()
def test_build(support):
support.build()
+ raises(DocumentNotFoundError, support.get_document, 'nonexisting')