summaryrefslogtreecommitdiff
path: root/tests/test_domain_std.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_domain_std.py')
-rw-r--r--tests/test_domain_std.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py
index 14c2bd3e2..1428bce31 100644
--- a/tests/test_domain_std.py
+++ b/tests/test_domain_std.py
@@ -36,7 +36,7 @@ def test_process_doc_handle_figure_caption():
ids={'testid': figure_node},
citation_refs={},
)
- document.traverse.return_value = []
+ document.findall.return_value = []
domain = StandardDomain(env)
if 'testname' in domain.data['labels']:
@@ -60,7 +60,7 @@ def test_process_doc_handle_table_title():
ids={'testid': table_node},
citation_refs={},
)
- document.traverse.return_value = []
+ document.findall.return_value = []
domain = StandardDomain(env)
if 'testname' in domain.data['labels']: