google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

Add RUN_EMULATOR_HOST

Open nick-catalist opened this issue 2 years ago • 0 comments

There is support for PUBSUB and BIGQUERY emulation, but not for Cloud Run.. https://github.com/googleapis/google-cloud-python/blob/9e804dfb2fa1ca4a29e861d88600f924906776d6/core/google/cloud/environment_vars.py

Can we please add support to allow emulation of the Cloud Run API without TLS? I am trying to create integration tests for some of my services...

To be very explicit:

I'd like to be able to run a dummy HTTP server and route requests to google.cloud.run_v2 to it so I can properly run integration tests without side effects.

nick-catalist avatar Dec 19 '23 18:12 nick-catalist