Skip to content
Snippets Groups Projects
Commit 0e574985 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

fix(test_postgresql): bad int() usage

parent 16f6999c
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,7 @@ def main():
# get database configuration
db_host = conf.get("DB_HOST", "127.0.0.1")
db_port = conf.get(int("DB_PORT"), 5432)
db_port = int(conf.get("DB_PORT", 5432))
db_user = conf.get("DB_USER", "postgres")
db_pass = conf.get("DB_PG_ROOT_PWD")
db_conf = {"host": db_host, "port": db_port, "user": db_user, "pass": db_pass}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment