From b6062655d4164d17c3592e948b54c023c0781599 Mon Sep 17 00:00:00 2001 From: Grant Gainey Date: Mon, 8 Sep 2025 16:36:34 -0400 Subject: [PATCH] Merge pull request #957 from gerrod3/skip-exist-remove Remove testing of twine's --skip-existing due to twine feature removal (cherry picked from commit 2b34643299835462a4add6b3b76d2d8309bf91d9) --- .../tests/functional/api/test_pypi_apis.py | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/pulp_python/tests/functional/api/test_pypi_apis.py b/pulp_python/tests/functional/api/test_pypi_apis.py index 0bff661c..7e6fa626 100644 --- a/pulp_python/tests/functional/api/test_pypi_apis.py +++ b/pulp_python/tests/functional/api/test_pypi_apis.py @@ -243,26 +243,6 @@ def test_twine_upload( check=True, ) - # Test re-uploading same packages with --skip-existing works - output = subprocess.run( - ( - "twine", - "upload", - "--repository-url", - url, - dist_dir / "*", - "-u", - username, - "-p", - password, - "--skip-existing", - ), - capture_output=True, - check=True, - text=True - ) - assert output.stdout.count("Skipping") == 2 - class PyPISimpleApi(TestCaseUsingBindings, TestHelpersMixin): """Tests that the simple api is correct."""