summaryrefslogtreecommitdiff
path: root/tests/test_build_applehelp.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-07 02:13:50 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-07 02:14:29 +0900
commit4c22cd10caa7b9621ece480fade5653d65226fcc (patch)
tree19a64268e9814dfa12087dc2d432c5339a23a0a9 /tests/test_build_applehelp.py
parentf695aac2e28e1463385b399b61fc2c4b4ef40c5c (diff)
parent620616cdbd92147f6ea7bbeb670dc3a0562235ff (diff)
downloadsphinx-git-4c22cd10caa7b9621ece480fade5653d65226fcc.tar.gz
Merge branch 'stable'
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('')