Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: find emulator project id from environment variable #843

Merged
merged 4 commits into from
Feb 16, 2024
Merged
Prev Previous commit
removed unneeded import
  • Loading branch information
daniel-sanche committed Feb 16, 2024
commit b76d5de01a1118c3d031fe2a6652d636cc12d3b3
2 changes: 0 additions & 2 deletions tests/unit/v1/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ def test_client_constructor_emulator(extra_env, project_expected):

If project is not set, should be detected from GCLOUD_PROJECT or GOOGLE_CLOUD_PROJECT
"""
from google.cloud.firestore_v1.client import _CLIENT_INFO

expected_host = "localhost:8080"
environment = {"FIRESTORE_EMULATOR_HOST": expected_host}
if extra_env:
Expand Down
Loading