Skip to content

Commit

Permalink
tests: fix typos in new 'vpcsc_config' module (#9630)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Nov 7, 2019
1 parent 79bdd03 commit 097a22f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_utils/test_utils/vpcsc_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
INSIDE_VPCSC_ENVVAR = "GOOGLE_CLOUD_TESTS_IN_VPCSC"
PROJECT_INSIDE_ENVVAR = "PROJECT_ID"
PROJECT_OUTSIDE_ENVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_PROJECT"
BUCKET_OUTSIDE_ENVVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_BUCKET"
BUCKET_OUTSIDE_ENVVAR = "GOOGLE_CLOUD_TESTS_VPCSC_OUTSIDE_PERIMETER_BUCKET"


class VPCSCTestConfig(object):
Expand Down Expand Up @@ -73,7 +73,7 @@ def skip_if_inside_vpcsc(self, testcase):
"""Test decorator: skip if running inside VPCSC."""
reason = (
"Running inside VPCSC. "
"Set the {} environment variable to enable this test."
"Unset the {} environment variable to enable this test."
).format(INSIDE_VPCSC_ENVVAR)
skip = pytest.mark.skipif(self.inside_vpcsc, reason=reason)
return skip(testcase)
Expand All @@ -82,7 +82,7 @@ def skip_unless_inside_vpcsc(self, testcase):
"""Test decorator: skip if running outside VPCSC."""
reason = (
"Running outside VPCSC. "
"Unset the {} environment variable to enable this test."
"Set the {} environment variable to enable this test."
).format(INSIDE_VPCSC_ENVVAR)
skip = pytest.mark.skipif(not self.inside_vpcsc, reason=reason)
return skip(testcase)
Expand Down

0 comments on commit 097a22f

Please sign in to comment.