Skip to content

Commit 652d446

Browse files
authored
chore: use GOOGLE_CLOUD_PROJECT in samples noxfile (#650)
1 parent ce68c0e commit 652d446

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

synthtool/gcp/templates/python_samples/noxfile.py.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ TEST_CONFIG = {
4343
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
4444
# build specific Cloud project. You can also use your own string
4545
# to use your own Cloud project.
46-
'gcloud_project_env': 'GCLOUD_PROJECT',
46+
'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
4747
# 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
4848

4949
# A dictionary you want to inject into your test. Don't put any
@@ -72,7 +72,6 @@ def get_pytest_env_vars():
7272
env_key = TEST_CONFIG['gcloud_project_env']
7373
# This should error out if not set.
7474
ret['GOOGLE_CLOUD_PROJECT'] = os.environ[env_key]
75-
ret['GCLOUD_PROJECT'] = os.environ[env_key]
7675

7776
# Apply user supplied envs.
7877
ret.update(TEST_CONFIG['envs'])

0 commit comments

Comments
 (0)