diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-07 00:05:48 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-07 00:05:48 +0900 |
| commit | e1d8615ce4bd2e3c68f2361447e4e45bbff65d18 (patch) | |
| tree | 705dad3720d50e01b84bf99d26ea371d2847a2ac /tests/test_templating.py | |
| parent | c2a7984e05943f33e0ce367baad1fc7855baf5f3 (diff) | |
| download | sphinx-git-e1d8615ce4bd2e3c68f2361447e4e45bbff65d18.tar.gz | |
Don't use add_documenter() in sphinx-autogen
Diffstat (limited to 'tests/test_templating.py')
| -rw-r--r-- | tests/test_templating.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_templating.py b/tests/test_templating.py index 88a196e77..550b3bc7d 100644 --- a/tests/test_templating.py +++ b/tests/test_templating.py @@ -15,9 +15,9 @@ from sphinx.ext.autosummary.generate import setup_documenters @pytest.mark.sphinx('html', testroot='templating') def test_layout_overloading(make_app, app_params): - setup_documenters() args, kwargs = app_params app = make_app(*args, **kwargs) + setup_documenters(app) app.builder.build_update() result = (app.outdir / 'contents.html').text(encoding='utf-8') @@ -27,9 +27,9 @@ def test_layout_overloading(make_app, app_params): @pytest.mark.sphinx('html', testroot='templating') def test_autosummary_class_template_overloading(make_app, app_params): - setup_documenters() args, kwargs = app_params app = make_app(*args, **kwargs) + setup_documenters(app) app.builder.build_update() result = (app.outdir / 'generated' / 'sphinx.application.TemplateBridge.html').text( |
