pytest: remove deprecated with_app decorator functions

This commit is contained in:
shimizukawa
2017-01-06 01:14:47 +09:00
parent b3c207dd49
commit baaef9146d
38 changed files with 264 additions and 246 deletions

View File

@@ -12,10 +12,10 @@
# adapted from an example of bibliographic metadata at
# http://docutils.sourceforge.net/docs/user/rst/demo.txt
from util import with_app
import pytest
@with_app('pseudoxml')
@pytest.mark.sphinx('pseudoxml')
def test_docinfo(app, status, warning):
"""
Inspect the 'docinfo' metadata stored in the first node of the document.