From 567e5b6579d92d1eee65faf60409e4842493ff39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 29 Sep 2023 22:48:08 +0200 Subject: [PATCH] Rename invalid sdists in our test data --- ...e-0.1.1.tar.gz => pip_test_package-0.1.1.tar.gz} | Bin ...ckage-0.1.tar.gz => pip_test_package-0.1.tar.gz} | Bin tests/functional/test_install.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/data/packages/{pip-test-package-0.1.1.tar.gz => pip_test_package-0.1.1.tar.gz} (100%) rename tests/data/packages/{pip-test-package-0.1.tar.gz => pip_test_package-0.1.tar.gz} (100%) diff --git a/tests/data/packages/pip-test-package-0.1.1.tar.gz b/tests/data/packages/pip_test_package-0.1.1.tar.gz similarity index 100% rename from tests/data/packages/pip-test-package-0.1.1.tar.gz rename to tests/data/packages/pip_test_package-0.1.1.tar.gz diff --git a/tests/data/packages/pip-test-package-0.1.tar.gz b/tests/data/packages/pip_test_package-0.1.tar.gz similarity index 100% rename from tests/data/packages/pip-test-package-0.1.tar.gz rename to tests/data/packages/pip_test_package-0.1.tar.gz diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index 140061a17..29db2ed77 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -391,7 +391,7 @@ def test_install_editable_uninstalls_existing( https://github.com/pypa/pip/issues/1548 https://github.com/pypa/pip/pull/1552 """ - to_install = data.packages.joinpath("pip-test-package-0.1.tar.gz") + to_install = data.packages.joinpath("pip_test_package-0.1.tar.gz") result = script.pip_install_local(to_install) assert "Successfully installed pip-test-package" in result.stdout result.assert_installed("piptestpackage", editable=False)