From bc9c50565723a083666408bef92a468804fc2a55 Mon Sep 17 00:00:00 2001 From: Brahmanand Singh <59507487+brahma19@users.noreply.github.com> Date: Thu, 3 Oct 2024 19:35:33 +0530 Subject: [PATCH] updated tests to fix issue #1801 https://github.com/GoogleCloudPlatform/gsutil/issues/1801 --- gslib/tests/test_shim_util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gslib/tests/test_shim_util.py b/gslib/tests/test_shim_util.py index 4186e4ee7..4dc92245c 100644 --- a/gslib/tests/test_shim_util.py +++ b/gslib/tests/test_shim_util.py @@ -1251,7 +1251,7 @@ def test_gcs_json_endpoint_translation(self): self.assertEqual( env_vars, { 'CLOUDSDK_API_ENDPOINT_OVERRIDES_STORAGE': - 'https://foo_host:1234/storage/v2', + 'https://foo_host:1234/storage/v2/', }) def test_gcs_json_endpoint_translation_with_missing_port(self): @@ -1265,7 +1265,7 @@ def test_gcs_json_endpoint_translation_with_missing_port(self): self.assertEqual(flags, []) self.assertEqual(env_vars, { 'CLOUDSDK_API_ENDPOINT_OVERRIDES_STORAGE': - 'https://foo_host/storage/v2', + 'https://foo_host/storage/v2/', }) def test_gcs_json_endpoint_translation_usees_default_version_v1(self): @@ -1279,7 +1279,7 @@ def test_gcs_json_endpoint_translation_usees_default_version_v1(self): self.assertEqual( env_vars, { 'CLOUDSDK_API_ENDPOINT_OVERRIDES_STORAGE': - 'https://foo_host:1234/storage/v1' + 'https://foo_host:1234/storage/v1/' }) def test_s3_endpoint_translation(self):