Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testcontainers/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _configure(self):
self.with_env("POSTGRES_PASSWORD", self.POSTGRES_PASSWORD)
self.with_env("POSTGRES_DB", self.POSTGRES_DB)

def get_connection_url(self, host="localhost"):
def get_connection_url(self, host=None):
return super()._create_connection_url(dialect="postgresql+psycopg2",
username=self.POSTGRES_USER,
password=self.POSTGRES_PASSWORD,
Expand Down