googleapis / googleapis/google-cloud-python
Remove test code related to `PUBSUB_EMULATOR_HOST` from `client.py`
オープン
api: pubsub
priority: p3
- 主要言語
- Python
- スター
- 5.4k
- フォーク
- 1.8k
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 122
説明
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.
コントリビューションガイド
評価
この issue はまだ評価されていません。