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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py
index dce7a5ddf..57d0bf185 100644
--- a/tests/test_domain_std.py
+++ b/tests/test_domain_std.py
@@ -17,6 +17,7 @@ from sphinx.domains.std import StandardDomain
def test_process_doc_handle_figure_caption():
env = mock.Mock(domaindata={})
+ env.app.registry.enumerable_nodes = {}
figure_node = nodes.figure(
'',
nodes.caption('caption text', 'caption text'),
@@ -40,6 +41,7 @@ def test_process_doc_handle_figure_caption():
def test_process_doc_handle_table_title():
env = mock.Mock(domaindata={})
+ env.app.registry.enumerable_nodes = {}
table_node = nodes.table(
'',
nodes.title('title text', 'title text'),
@@ -63,6 +65,7 @@ def test_process_doc_handle_table_title():
def test_get_full_qualified_name():
env = mock.Mock(domaindata={})
+ env.app.registry.enumerable_nodes = {}
domain = StandardDomain(env)
# normal references