From c62381b5fe317b72de7b72da34d18fa9c70d6fbd Mon Sep 17 00:00:00 2001 From: Jitka Obselkova Date: Wed, 17 Sep 2025 10:42:37 +0200 Subject: [PATCH] Remove testing of twine's --skip-existing due to twine feature removal --- .../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 2cab07f2..164ea7ba 100644 --- a/pulp_python/tests/functional/api/test_pypi_apis.py +++ b/pulp_python/tests/functional/api/test_pypi_apis.py @@ -207,26 +207,6 @@ def test_twine_upload(self): check=True, ) - # Test re-uploading same packages with --skip-existing works - output = subprocess.run( - ( - "twine", - "upload", - "--repository-url", - url, - self.dists_dir.name + "/*", - "-u", - username, - "-p", - password, - "--skip-existing", - ), - capture_output=True, - check=True, - text=True - ) - self.assertEqual(output.stdout.count("Skipping"), 2) - class PyPISimpleApi(TestCaseUsingBindings, TestHelpersMixin): """Tests that the simple api is correct."""