Skip to content

Commit 33bbcbc

Browse files
committed
fix(vision): update a couple expected messages to fix broken vision vpc sc tests
1 parent 5137c03 commit 33bbcbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vision/tests/system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def _verify_vpc_sc_error(self, call):
641641
except google.api_core.exceptions.PermissionDenied as e:
642642
# Verify the PermissionDenied exception was due to VPC SC.
643643
self.assertEqual(
644-
e.message, "Request is prohibited by organization's policy"
644+
e.message, "Request is prohibited by organization's policy."
645645
)
646646
return
647647
except Exception as e:
@@ -821,7 +821,7 @@ def setUp(self):
821821
)
822822
self._verify_vpc_sc_blocks_gcs_bucket()
823823
self.gcs_read_error_message = "Error opening file: gs://"
824-
self.gcs_write_error_message = "Error writing final output to: gs://"
824+
self.gcs_write_error_message = "Error writing final output to"
825825

826826
def _verify_vpc_sc_blocks_gcs_bucket(self):
827827
# Verifies that a VPC SC 403 error is raised when trying to access a bucket in gcs that is outside the perimeter.

0 commit comments

Comments
 (0)