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 50f8d8c commit fcbad41Copy full SHA for fcbad41
testcontainers/postgres.py
@@ -46,7 +46,7 @@ def _configure(self):
46
self.with_env("POSTGRES_PASSWORD", self.POSTGRES_PASSWORD)
47
self.with_env("POSTGRES_DB", self.POSTGRES_DB)
48
49
- def get_connection_url(self, host="localhost"):
+ def get_connection_url(self, host=None):
50
return super()._create_connection_url(dialect="postgresql+psycopg2",
51
username=self.POSTGRES_USER,
52
password=self.POSTGRES_PASSWORD,
0 commit comments