* [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/files/
@ 2020-09-12 9:55 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-09-12 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 9025906f454c356026b5b1c1bba4b2231facc0aa
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Aug 28 16:57:39 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 09:54:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9025906f
dev-python/pypiserver: remove unused patch(es)
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../files/pypiserver-1.3.1-no-internet.patch | 90 ----------------------
1 file changed, 90 deletions(-)
diff --git a/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch b/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch
deleted file mode 100644
index 2df183f6404..00000000000
--- a/dev-python/pypiserver/files/pypiserver-1.3.1-no-internet.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff --git a/tests/test_app.py b/tests/test_app.py
-index 52ce234..46cd23a 100644
---- a/tests/test_app.py
-+++ b/tests/test_app.py
-@@ -2,6 +2,7 @@
-
- # Builtin imports
- import logging
-+import unittest
-
-
- try: # python 3
-@@ -177,6 +178,7 @@ def test_favicon(testapp):
- testapp.get("/favicon.ico", status=404)
-
-
-+@unittest.skip("Requires internet access")
- def test_fallback(root, _app, testapp):
- assert _app.config.redirect_to_fallback
- resp = testapp.get("/simple/pypiserver/", status=302)
-diff --git a/tests/test_manage.py b/tests/test_manage.py
-index 9735ac6..bde267d 100755
---- a/tests/test_manage.py
-+++ b/tests/test_manage.py
-@@ -118,6 +118,7 @@ def test_pip_cmd_root(pip_ver, cmd_type):
- assert tuple(PipCmd.update_root(pip_ver)) == exp_cmd
-
-
-+@pytest.mark.skip(reason="Requires internet access")
- def test_pip_cmd_update():
- """Verify the correct determination of a pip command."""
- index = 'https://pypi.org/simple'
-@@ -138,6 +139,7 @@ def test_pip_cmd_update():
- )
-
-
-+@pytest.mark.skip(reason="Requires internet access")
- def test_pip_cmd_update_index_overridden():
- """Verify the correct determination of a pip command."""
- index = 'https://pypi.org/complex'
-@@ -156,6 +158,7 @@ def test_pip_cmd_update_index_overridden():
- )
-
-
-+@pytest.mark.skip(reason="Requires internet access")
- def test_update_package(monkeypatch):
- """Test generating an update command for a package."""
- monkeypatch.setattr(manage, 'call', Mock())
-diff --git a/tests/test_server.py b/tests/test_server.py
-index 6cb4bc4..6325b6f 100644
---- a/tests/test_server.py
-+++ b/tests/test_server.py
-@@ -275,7 +275,6 @@ def twine_register(packages, repository='test', conf='pypirc',
- # Tests
- # ######################################################################
-
--
- def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package):
- with new_server(empty_packdir, port):
- cmd = "centodeps"
-@@ -283,18 +282,21 @@ def test_pipInstall_packageNotFound(empty_packdir, port, pipdir, package):
- assert not pipdir.listdir()
-
-
-+@pytest.mark.skip(reason="Needs internet")
- def test_pipInstall_openOk(open_server, package, pipdir):
- cmd = "centodeps"
- assert _run_pip_install(cmd, open_server.port, pipdir) == 0
- assert pipdir.join(package.basename).check()
-
-
-+@pytest.mark.skip(reason="Needs internet")
- def test_pipInstall_authedFails(protected_server, pipdir):
- cmd = "centodeps"
- assert _run_pip_install(cmd, protected_server.port, pipdir) != 0
- assert not pipdir.listdir()
-
-
-+@pytest.mark.skip(reason="Needs internet")
- def test_pipInstall_authedOk(protected_server, package, pipdir):
- cmd = "centodeps"
- assert _run_pip_install(cmd, protected_server.port, pipdir,
-@@ -395,6 +397,7 @@ def test_twine_upload_open(empty_packdir, port, package):
- assert len(empty_packdir.listdir()) == 1
-
-
-+@pytest.mark.skip(reason="needs internet")
- @pytest.mark.parametrize("hash_algo", ("md5", "sha256", "sha512"))
- def test_hash_algos(empty_packdir, port, package, pipdir, hash_algo):
- """Test twine upload with no authentication"""
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-12 9:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-12 9:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox