googleapis / googleapis/google-cloud-python
Remove test code related to `PUBSUB_EMULATOR_HOST` from `client.py`
Ouverte
api: pubsub
priority: p3
- Langage dominant
- Python
- Étoiles
- 5.4k
- Forks
- 1.8k
- Merge moyen
- 3 j 4 h
- PR mergées (30 j)
- 122
Description
Currently, the emulator code (for testing purposes) is set in `client.py` i.e. if `PUBSUB_EMULATOR_HOST` is set:
- api endpoint is set to the `PUBSUB_EMULATOR_HOST`.
- credentials are set to `AnonymousCredentials`.
- channel is set to `insecure_channel`.
Remove this code from the client files and include it in the test files directly. The exact code location can be looked up by searching for this issue.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.