We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb65a01 commit a3a3d2fCopy full SHA for a3a3d2f
testcontainers/google/pubsub.py
@@ -27,14 +27,14 @@ class PubSubContainer(DockerContainer):
27
::
28
29
def test_docker_run_pubsub():
30
- config = PubSubContainer('google/cloud-sdk:latest')
+ config = PubSubContainer('google/cloud-sdk:emulators')
31
with config as pubsub:
32
publisher = pubsub.get_publisher()
33
topic_path = publisher.topic_path(pubsub.project, "my-topic")
34
topic = publisher.create_topic(topic_path)
35
"""
36
37
- def __init__(self, image="google/cloud-sdk:latest",
+ def __init__(self, image="google/cloud-sdk:emulators",
38
project="test-project", port=8432, **kwargs):
39
super(PubSubContainer, self).__init__(image=image, **kwargs)
40
self.project = project
0 commit comments