[Python-modules-commits] [sphinx] 01/03: Skip linkcheck tests that require network access

Dmitry Shachnev mitya57 at moszumanska.debian.org
Tue Dec 20 13:49:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository sphinx.

commit 74a8934e57d6157ec83a95649b6a4d61b8869708
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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py
index 1d75135..f4d1aef 100644
--- a/tests/test_build_linkcheck.py
+++ b/tests/test_build_linkcheck.py
@@ -10,9 +10,11 @@
 """
 from __future__ import print_function
 
+import unittest
 from util import with_app
 
 
+ at unittest.skip('Requires internet access')
 @with_app('linkcheck', testroot='linkcheck', freshenv=True)
 def test_defaults(app, status, warning):
     app.builder.build_all()
@@ -26,6 +28,7 @@ def test_defaults(app, status, warning):
     assert len(content.splitlines()) == 1
 
 
+ at unittest.skip('Requires internet access')
 @with_app('linkcheck', testroot='linkcheck', freshenv=True,
           confoverrides={'linkcheck_anchors_ignore': ["^!", "^top$"]})
 def test_anchors_ignored(app, status, warning):

-- 
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