diff --git a/samples/snippets/noxfile.py b/samples/snippets/noxfile.py index ba55d7ce5..b23055f14 100644 --- a/samples/snippets/noxfile.py +++ b/samples/snippets/noxfile.py @@ -43,7 +43,7 @@ # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a # build specific Cloud project. You can also use your own string # to use your own Cloud project. - 'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT', + 'gcloud_project_env': 'GCLOUD_PROJECT', # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT', # A dictionary you want to inject into your test. Don't put any @@ -72,6 +72,7 @@ def get_pytest_env_vars(): env_key = TEST_CONFIG['gcloud_project_env'] # This should error out if not set. ret['GOOGLE_CLOUD_PROJECT'] = os.environ[env_key] + ret['GCLOUD_PROJECT'] = os.environ[env_key] # Apply user supplied envs. ret.update(TEST_CONFIG['envs']) diff --git a/synth.metadata b/synth.metadata index fe6ccf394..0986a810c 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-pubsub.git", - "sha": "71d70822c816062ef10d6d7584c4f8ed038d923f" + "sha": "e204b86e34346b6d456771ef4d4cfe5e15e53238" } }, { @@ -22,6 +22,13 @@ "sha": "cf2eff09d0f5319a4dc5cdce2b6356d85af4a798" } }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "cf2eff09d0f5319a4dc5cdce2b6356d85af4a798" + } + }, { "git": { "name": "synthtool",