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 424320b commit d860cacCopy full SHA for d860cac
testing/test/integration/test_connection.py
@@ -37,7 +37,8 @@ def test_connection_default_file(self):
37
f.write("host=%s\n" % default_conf["host"])
38
f.write("port=%i\n" % default_conf["port"])
39
f.write("user=%s\n" % default_conf["user"])
40
- f.write("password=%s\n" % default_conf["password"])
+ if "password" in default_conf:
41
+ f.write("password=%s\n" % default_conf["password"])
42
f.write("database=%s\n" % default_conf["database"])
43
f.close()
44
0 commit comments