summaryrefslogtreecommitdiff
path: root/tests/test_ext_ifconfig.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-06 01:14:47 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-06 01:14:47 +0900
commitbaaef9146d46e772a680ecfe3d16e51806890156 (patch)
tree7da272de8eed1063c0b9e7c68e52c288b08d3031 /tests/test_ext_ifconfig.py
parentb3c207dd4961b3ee3dd8c045734cb06b456e8dd8 (diff)
downloadsphinx-git-baaef9146d46e772a680ecfe3d16e51806890156.tar.gz
pytest: remove deprecated with_app decorator functions
Diffstat (limited to 'tests/test_ext_ifconfig.py')
-rw-r--r--tests/test_ext_ifconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ext_ifconfig.py b/tests/test_ext_ifconfig.py
index 835ab0938..1ed7c78d2 100644
--- a/tests/test_ext_ifconfig.py
+++ b/tests/test_ext_ifconfig.py
@@ -9,10 +9,10 @@
:license: BSD, see LICENSE for details.
"""
-from util import with_app
+import pytest
-@with_app(buildername='text', testroot='ext-ifconfig')
+@pytest.mark.sphinx('text', testroot='ext-ifconfig')
def test_ifconfig(app, status, warning):
app.builder.build_all()
result = (app.outdir / 'index.txt').text()