[Python-modules-commits] [sphinx] 02/04: Disable one more test that needs network in skip_tests_network.diff.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Jul 10 13:34:15 UTC 2017


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

mitya57 pushed a commit to branch debian/master
in repository sphinx.

commit 006a4c9b199e8ba46622d6934b590d293e906df3
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Mon Jul 10 16:30:11 2017 +0300

    Disable one more test that needs network in skip_tests_network.diff.
---
 debian/changelog                       |  1 +
 debian/patches/skip_tests_network.diff | 15 ++++++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cb42bfd..f3d0586 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ sphinx (1.6.3-1) UNRELEASED; urgency=medium
   * Update autopkgtest dependencies.
     - Add python[3]-sphinxcontrib.websupport.
     - Add python[3]-sqlalchemy.
+  * Disable one more test that needs network in skip_tests_network.diff.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 09 Jul 2017 12:12:43 +0300
 
diff --git a/debian/patches/skip_tests_network.diff b/debian/patches/skip_tests_network.diff
index 2db6bd6..d7d8057 100644
--- a/debian/patches/skip_tests_network.diff
+++ b/debian/patches/skip_tests_network.diff
@@ -4,9 +4,22 @@ Subject: Skip linkcheck tests that require network access
 
 Forwarded: not-needed
 ---
+ tests/test_build_latex.py     | 1 +
  tests/test_build_linkcheck.py | 2 ++
- 1 file changed, 2 insertions(+)
+ 2 files changed, 3 insertions(+)
 
+diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
+index 55f48cd..229f83e 100644
+--- a/tests/test_build_latex.py
++++ b/tests/test_build_latex.py
+@@ -1010,6 +1010,7 @@ def test_latex_raw_directive(app, status, warning):
+     assert 'LaTeX: abc def ghi' in result
+ 
+ 
++ at pytest.mark.skip('Requires internet access')
+ @pytest.mark.sphinx('latex', testroot='images')
+ def test_latex_remote_images(app, status, warning):
+     app.builder.build_all()
 diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py
 index f776f77..b2951a7 100644
 --- a/tests/test_build_linkcheck.py

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