Skip to content

Commit

Permalink
updated tests to fix issue GoogleCloudPlatform#1801
Browse files Browse the repository at this point in the history
  • Loading branch information
brahma19 authored Oct 3, 2024
1 parent cdd3bc9 commit bc9c505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gslib/tests/test_shim_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit bc9c505

Please sign in to comment.