summaryrefslogtreecommitdiff
path: root/tests/test_domain_std.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-16 01:24:43 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-16 01:38:20 +0900
commitd5a770b59280cd65d5bf4577f320cbd138ab22cc (patch)
tree590fce4e92701d895ece0229c732525d968b9486 /tests/test_domain_std.py
parentb03b7e543f5e135d046d2fe407def219336c12b2 (diff)
downloadsphinx-git-d5a770b59280cd65d5bf4577f320cbd138ab22cc.tar.gz
std domain handles citations
Diffstat (limited to 'tests/test_domain_std.py')
-rw-r--r--tests/test_domain_std.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py
index 2d31ada2e..5bd9f805b 100644
--- a/tests/test_domain_std.py
+++ b/tests/test_domain_std.py
@@ -26,6 +26,7 @@ def test_process_doc_handle_figure_caption():
nameids={'testname': 'testid'},
ids={'testid': figure_node},
)
+ document.traverse.return_value = []
domain = StandardDomain(env)
if 'testname' in domain.data['labels']:
@@ -47,6 +48,7 @@ def test_process_doc_handle_table_title():
nameids={'testname': 'testid'},
ids={'testid': table_node},
)
+ document.traverse.return_value = []
domain = StandardDomain(env)
if 'testname' in domain.data['labels']: