File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222INSIDE_VPCSC_ENVVAR = "GOOGLE_CLOUD_TESTS_IN_VPCSC"
2323PROJECT_INSIDE_ENVVAR = "PROJECT_ID"
2424PROJECT_OUTSIDE_ENVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_PROJECT"
25- BUCKET_OUTSIDE_ENVVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_BUCKET"
25+ BUCKET_OUTSIDE_ENVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_BUCKET"
2626
2727
2828class VPCSCTestConfig (object ):
@@ -73,7 +73,7 @@ def skip_if_inside_vpcsc(self, testcase):
7373 """Test decorator: skip if running inside VPCSC."""
7474 reason = (
7575 "Running inside VPCSC. "
76- "Set the {} environment variable to enable this test."
76+ "Unset the {} environment variable to enable this test."
7777 ).format (INSIDE_VPCSC_ENVVAR )
7878 skip = pytest .mark .skipif (self .inside_vpcsc , reason = reason )
7979 return skip (testcase )
@@ -82,7 +82,7 @@ def skip_unless_inside_vpcsc(self, testcase):
8282 """Test decorator: skip if running outside VPCSC."""
8383 reason = (
8484 "Running outside VPCSC. "
85- "Unset the {} environment variable to enable this test."
85+ "Set the {} environment variable to enable this test."
8686 ).format (INSIDE_VPCSC_ENVVAR )
8787 skip = pytest .mark .skipif (not self .inside_vpcsc , reason = reason )
8888 return skip (testcase )
You can’t perform that action at this time.
0 commit comments