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 8261e52 commit b8e06ebCopy full SHA for b8e06eb
testcontainers/mssql.py
@@ -34,9 +34,9 @@ def _configure(self):
34
35
def get_connection_url(self):
36
standard_url = super()._create_connection_url(dialect="mssql+pyodbc",
37
- username=self.SQLSERVER_USER,
38
- password=self.SQLSERVER_PASSWORD,
39
- db_name=self.SQLSERVER_DBNAME,
40
- port=self.port_to_expose)
+ username=self.SQLSERVER_USER,
+ password=self.SQLSERVER_PASSWORD,
+ db_name=self.SQLSERVER_DBNAME,
+ port=self.port_to_expose)
41
42
- return standard_url + f"?driver={self.SQLSERVER_DRIVER}"
+ return standard_url + "?driver=" + self.SQLSERVER_DRIVER
0 commit comments