diff options
author | Takayuki SHIMIZUKAWA <shimizukawa@gmail.com> | 2017-01-07 00:48:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-07 00:48:27 +0900 |
commit | 620616cdbd92147f6ea7bbeb670dc3a0562235ff (patch) | |
tree | d9e459cc62d2c1fe783aa665ab56680eca112ab6 /tests/test_ext_viewcode.py | |
parent | 54c8c012228559c3bf30011977984a60a9299e9b (diff) | |
parent | 89e1df0bba58fc8d420fd9f293c4e325e06fc431 (diff) | |
download | sphinx-git-620616cdbd92147f6ea7bbeb670dc3a0562235ff.tar.gz |
Merge pull request #3302 from sphinx-doc/pytest-stable
pytest migration
Diffstat (limited to 'tests/test_ext_viewcode.py')
-rw-r--r-- | tests/test_ext_viewcode.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_ext_viewcode.py b/tests/test_ext_viewcode.py index 93e681a5d..e4763119a 100644 --- a/tests/test_ext_viewcode.py +++ b/tests/test_ext_viewcode.py @@ -11,10 +11,10 @@ import re -from util import with_app +import pytest -@with_app(testroot='ext-viewcode') +@pytest.mark.sphinx(testroot='ext-viewcode') def test_viewcode(app, status, warning): app.builder.build_all() @@ -32,7 +32,7 @@ def test_viewcode(app, status, warning): assert result.count('href="_modules/spam/mod2.html#Class2"') == 2 -@with_app(testroot='ext-viewcode', tags=['test_linkcode']) +@pytest.mark.sphinx(testroot='ext-viewcode', tags=['test_linkcode']) def test_linkcode(app, status, warning): app.builder.build(['objects']) |