Skip to content

Remove test code related to PUBSUB_EMULATOR_HOST from client.py #1349

Open
@ohmayr

Description

@ohmayr

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.

Metadata

Metadata

Labels

api: pubsubIssues related to the googleapis/python-pubsub API.priority: p3Desirable enhancement or fix. May not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions