[Python-modules-commits] [sphinx] 06/07: Skip linkcheck tests that require network access
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sun Jan 22 09:17:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository sphinx.
commit 49c39658f95dd3b2ab39a3810ca1ad7102cd3a3c
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Tue Dec 20 16:37:32 2016 +0300
Skip linkcheck tests that require network access
Forwarded: not-needed
Patch-Name: skip_tests_network.diff
---
tests/test_build_linkcheck.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py
index f776f77..b2951a7 100644
--- a/tests/test_build_linkcheck.py
+++ b/tests/test_build_linkcheck.py
@@ -13,6 +13,7 @@ from __future__ import print_function
import pytest
+ at pytest.mark.skip('Requires internet access')
@pytest.mark.sphinx('linkcheck', testroot='linkcheck', freshenv=True)
def test_defaults(app, status, warning):
app.builder.build_all()
@@ -26,6 +27,7 @@ def test_defaults(app, status, warning):
assert len(content.splitlines()) == 1
+ at pytest.mark.skip('Requires internet access')
@pytest.mark.sphinx(
'linkcheck', testroot='linkcheck', freshenv=True,
confoverrides={'linkcheck_anchors_ignore': ["^!", "^top$"]})
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git
More information about the Python-modules-commits
mailing list