We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbcbc15 commit 96d51cfCopy full SHA for 96d51cf
tests/system/admin_overlay/conftest.py
@@ -22,8 +22,10 @@
22
23
@pytest.fixture(scope="session")
24
def admin_overlay_project_id():
25
- _, default_project = google.auth.default()
26
- yield os.getenv("GOOGLE_CLOUD_PROJECT") or default_project
+ project_id = os.getenv("GOOGLE_CLOUD_PROJECT")
+ if not project_id:
27
+ _, project_id = google.auth.default()
28
+ return project_id
29
30
31
def generate_unique_suffix(name):
0 commit comments