summaryrefslogtreecommitdiff
path: root/tests/test_build_applehelp.py
diff options
context:
space:
mode:
authorTakayuki SHIMIZUKAWA <shimizukawa@gmail.com>2017-01-07 00:48:27 +0900
committerGitHub <noreply@github.com>2017-01-07 00:48:27 +0900
commit620616cdbd92147f6ea7bbeb670dc3a0562235ff (patch)
treed9e459cc62d2c1fe783aa665ab56680eca112ab6 /tests/test_build_applehelp.py
parent54c8c012228559c3bf30011977984a60a9299e9b (diff)
parent89e1df0bba58fc8d420fd9f293c4e325e06fc431 (diff)
downloadsphinx-git-620616cdbd92147f6ea7bbeb670dc3a0562235ff.tar.gz
Merge pull request #3302 from sphinx-doc/pytest-stable
pytest migration
Diffstat (limited to 'tests/test_build_applehelp.py')
-rw-r--r--tests/test_build_applehelp.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_build_applehelp.py b/tests/test_build_applehelp.py
index 63bb0ec89..48324e259 100644
--- a/tests/test_build_applehelp.py
+++ b/tests/test_build_applehelp.py
@@ -13,7 +13,7 @@
import plistlib
-from util import with_app
+import pytest
from path import path
# Use plistlib.load in 3.4 and above
@@ -43,9 +43,10 @@ def check_localization(outdir):
assert (lprojdir / 'localized.txt').isfile()
-@with_app(buildername='applehelp', testroot='basic', srcdir='applehelp_output',
- confoverrides={'applehelp_bundle_id': 'org.sphinx-doc.Sphinx.help',
- 'applehelp_disable_external_tools': True})
+@pytest.mark.sphinx(
+ 'applehelp', testroot='basic', srcdir='applehelp_output',
+ confoverrides={'applehelp_bundle_id': 'org.sphinx-doc.Sphinx.help',
+ 'applehelp_disable_external_tools': True})
def test_applehelp_output(app, status, warning):
(app.srcdir / 'en.lproj').makedirs()
(app.srcdir / 'en.lproj' / 'localized.txt').write_text('')