summaryrefslogtreecommitdiff
path: root/tests/test_templating.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_templating.py')
-rw-r--r--tests/test_templating.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_templating.py b/tests/test_templating.py
index 3cfb69ba2..aaca9d6bf 100644
--- a/tests/test_templating.py
+++ b/tests/test_templating.py
@@ -9,10 +9,10 @@
:license: BSD, see LICENSE for details.
"""
-from util import with_app
+import pytest
-@with_app('html', testroot='templating')
+@pytest.mark.sphinx('html', testroot='templating')
def test_layout_overloading(app, status, warning):
app.builder.build_update()
@@ -21,7 +21,7 @@ def test_layout_overloading(app, status, warning):
assert '<!-- layout overloading -->' in result
-@with_app('html', testroot='templating')
+@pytest.mark.sphinx('html', testroot='templating')
def test_autosummary_class_template_overloading(app, status, warning):
app.builder.build_update()