summaryrefslogtreecommitdiff
path: root/tests/test_ext_autodoc_automodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_autodoc_automodule.py')
-rw-r--r--tests/test_ext_autodoc_automodule.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_ext_autodoc_automodule.py b/tests/test_ext_autodoc_automodule.py
index d53c68144..df57724b3 100644
--- a/tests/test_ext_autodoc_automodule.py
+++ b/tests/test_ext_autodoc_automodule.py
@@ -16,6 +16,19 @@ import pytest
from .test_ext_autodoc import do_autodoc
+@pytest.mark.sphinx('html', testroot='ext-autodoc')
+def test_empty_all(app):
+ options = {'members': True}
+ actual = do_autodoc(app, 'module', 'target.empty_all', options)
+ assert list(actual) == [
+ '',
+ '.. py:module:: target.empty_all',
+ '',
+ 'docsting of empty_all module.',
+ '',
+ ]
+
+
@pytest.mark.sphinx('html', testroot='ext-autodoc',
confoverrides={'autodoc_mock_imports': ['missing_module',
'missing_package1',