From baaef9146d46e772a680ecfe3d16e51806890156 Mon Sep 17 00:00:00 2001 From: shimizukawa Date: Fri, 6 Jan 2017 01:14:47 +0900 Subject: pytest: remove deprecated with_app decorator functions --- tests/test_ext_githubpages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_ext_githubpages.py') diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py index f74ed5315..2eff6be78 100644 --- a/tests/test_ext_githubpages.py +++ b/tests/test_ext_githubpages.py @@ -9,10 +9,10 @@ :license: BSD, see LICENSE for details. """ -from util import with_app +import pytest -@with_app('html', testroot='ext-githubpages') +@pytest.mark.sphinx('html', testroot='ext-githubpages') def test_githubpages(app, status, warning): app.builder.build_all() assert (app.outdir / '.nojekyll').exists() -- cgit v1.2.1