File: skip-network-tests

package info (click to toggle)
twine 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 848 kB
  • sloc: python: 4,372; makefile: 23; sh: 6
file content (20 lines) | stat: -rw-r--r-- 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Stefano Rivera <stefanor@debian.org>
Date: Mon, 25 Nov 2019 10:44:19 -0800
Subject: Skip tests that require a network connection

---
 tests/test_upload.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_upload.py b/tests/test_upload.py
index c631f9b..ec39b08 100644
--- a/tests/test_upload.py
+++ b/tests/test_upload.py
@@ -559,6 +559,7 @@ def test_values_from_env_non_pypi(monkeypatch, write_config_file):
     assert "/foo/bar.crt" == upload_settings.cacert
 
 
+@pytest.mark.skip('Requires network')
 @pytest.mark.parametrize(
     "repo_url",
     ["https://upload.pypi.org/", "https://test.pypi.org/", "https://pypi.org/"],