diff options
| author | Georg Brandl <georg@python.org> | 2012-07-29 19:27:28 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-07-29 19:27:28 +0200 |
| commit | 8564ef940fd4f9b6d0c1ee7096cf073a610571a5 (patch) | |
| tree | 66a5738c8cf965dea3c0a5874d91bcd5c82e4458 | |
| parent | 7ff1178fc7a9fc6396f9c690837e75f6c9544dbd (diff) | |
| download | sphinx-8564ef940fd4f9b6d0c1ee7096cf073a610571a5.tar.gz | |
Fix test_env by supplying a dummy imgpath to the HTML builder.
| -rw-r--r-- | tests/test_env.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_env.py b/tests/test_env.py index e62db33b..2f75187f 100644 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -54,6 +54,7 @@ def test_images(): tree = env.get_doctree('images') app._warning.reset() htmlbuilder = StandaloneHTMLBuilder(app) + htmlbuilder.imgpath = 'dummy' htmlbuilder.post_process_images(tree) image_uri_message = "no matching candidate for image URI u'foo.*'" if sys.version_info >= (3, 0): |
