summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-11-09 14:40:45 -0500
committerGitHub <noreply@github.com>2023-11-09 14:40:45 -0500
commitbc4372ad81f5037e107a608d4736161ba86bb201 (patch)
tree4480845db462fe38a403927e96cd77fbcbdee20e /tests/utils.py
parentUse _invalidate_cache_and_stream_bulk in more places. (#16616) (diff)
downloadsynapse-bc4372ad81f5037e107a608d4736161ba86bb201.tar.xz
Use dbname instead of database for Postgres config. (#16618)
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index e73b46944b..a0c87ad628 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -80,7 +80,7 @@ def setupdb() -> None:
 
         # Set up in the db
         db_conn = db_engine.module.connect(
-            database=POSTGRES_BASE_DB,
+            dbname=POSTGRES_BASE_DB,
             user=POSTGRES_USER,
             host=POSTGRES_HOST,
             port=POSTGRES_PORT,