From 1b36b4b98d99060f47e873f7547680bf9b101510 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 1 Aug 2023 11:42:25 -0700 Subject: [PATCH] Rename `conf_files` dir to `pip_conf_files` to reduce ambiguity (#7690) We now support multiple python package managers, several of which support conf files. So rename this to reduce ambiguity and make it clear this folder is for `pip.conf` fixtures. --- .../dependabot/python/update_checker/index_finder_spec.rb | 2 +- .../python/update_checker/latest_version_finder_spec.rb | 8 ++++---- .../fixtures/{conf_files => pip_conf_files}/custom_index | 0 .../{conf_files => pip_conf_files}/custom_index_double_at | 0 .../fixtures/{conf_files => pip_conf_files}/extra_index | 0 .../extra_index_env_variable | 0 .../extra_index_env_variable_basic_auth | 0 7 files changed, 5 insertions(+), 5 deletions(-) rename python/spec/fixtures/{conf_files => pip_conf_files}/custom_index (100%) rename python/spec/fixtures/{conf_files => pip_conf_files}/custom_index_double_at (100%) rename python/spec/fixtures/{conf_files => pip_conf_files}/extra_index (100%) rename python/spec/fixtures/{conf_files => pip_conf_files}/extra_index_env_variable (100%) rename python/spec/fixtures/{conf_files => pip_conf_files}/extra_index_env_variable_basic_auth (100%) diff --git a/python/spec/dependabot/python/update_checker/index_finder_spec.rb b/python/spec/dependabot/python/update_checker/index_finder_spec.rb index 8c82838e420e..03ac746f7953 100644 --- a/python/spec/dependabot/python/update_checker/index_finder_spec.rb +++ b/python/spec/dependabot/python/update_checker/index_finder_spec.rb @@ -51,7 +51,7 @@ let(:pip_conf) do Dependabot::DependencyFile.new( name: "pip.conf", - content: fixture("conf_files", pip_conf_fixture_name) + content: fixture("pip_conf_files", pip_conf_fixture_name) ) end let(:pip_conf_fixture_name) { "custom_index" } diff --git a/python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb b/python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb index a49f0450fcc0..05c83e731950 100644 --- a/python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb +++ b/python/spec/dependabot/python/update_checker/latest_version_finder_spec.rb @@ -270,7 +270,7 @@ [ Dependabot::DependencyFile.new( name: "pip.conf", - content: fixture("conf_files", "custom_index") + content: fixture("pip_conf_files", "custom_index") ) ] end @@ -282,7 +282,7 @@ [ Dependabot::DependencyFile.new( name: "pip.conf", - content: fixture("conf_files", "custom_index_double_at") + content: fixture("pip_conf_files", "custom_index_double_at") ) ] end @@ -413,7 +413,7 @@ [ Dependabot::DependencyFile.new( name: "pip.conf", - content: fixture("conf_files", "extra_index") + content: fixture("pip_conf_files", "extra_index") ) ] end @@ -425,7 +425,7 @@ [ Dependabot::DependencyFile.new( name: "pip.conf", - content: fixture("conf_files", "extra_index_env_variable") + content: fixture("pip_conf_files", "extra_index_env_variable") ) ] end diff --git a/python/spec/fixtures/conf_files/custom_index b/python/spec/fixtures/pip_conf_files/custom_index similarity index 100% rename from python/spec/fixtures/conf_files/custom_index rename to python/spec/fixtures/pip_conf_files/custom_index diff --git a/python/spec/fixtures/conf_files/custom_index_double_at b/python/spec/fixtures/pip_conf_files/custom_index_double_at similarity index 100% rename from python/spec/fixtures/conf_files/custom_index_double_at rename to python/spec/fixtures/pip_conf_files/custom_index_double_at diff --git a/python/spec/fixtures/conf_files/extra_index b/python/spec/fixtures/pip_conf_files/extra_index similarity index 100% rename from python/spec/fixtures/conf_files/extra_index rename to python/spec/fixtures/pip_conf_files/extra_index diff --git a/python/spec/fixtures/conf_files/extra_index_env_variable b/python/spec/fixtures/pip_conf_files/extra_index_env_variable similarity index 100% rename from python/spec/fixtures/conf_files/extra_index_env_variable rename to python/spec/fixtures/pip_conf_files/extra_index_env_variable diff --git a/python/spec/fixtures/conf_files/extra_index_env_variable_basic_auth b/python/spec/fixtures/pip_conf_files/extra_index_env_variable_basic_auth similarity index 100% rename from python/spec/fixtures/conf_files/extra_index_env_variable_basic_auth rename to python/spec/fixtures/pip_conf_files/extra_index_env_variable_basic_auth