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 b6fb1e4 commit 93347b0Copy full SHA for 93347b0
tests/test_connect.py
@@ -1322,7 +1322,9 @@ def test_connect_connection_service_file(self):
1322
})
1323
# Test that dsn params overwrite service file
1324
self.run_testcase({
1325
- 'dsn': 'postgresql://?service=test_service_dbname&dbname=test_dbname_dsn',
+ 'dsn': 'postgresql://?service={}&dbname={}'.format(
1326
+ "test_service_dbname", "test_dbname_dsn"
1327
+ ),
1328
'env': {
1329
'PGSERVICEFILE': connection_service_file.name
1330
},
0 commit comments