diff options
Diffstat (limited to '')
-rw-r--r-- | tests/server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server.py b/tests/server.py index c47b536efc..7f5b5ba8f8 100644 --- a/tests/server.py +++ b/tests/server.py @@ -960,11 +960,11 @@ def setup_test_homeserver( test_db = "synapse_test_%s" % uuid.uuid4().hex if USE_POSTGRES_FOR_TESTS == "psycopg": - name = "psycopg" + db_type = "psycopg" else: - name = "psycopg2" + db_type = "psycopg2" database_config = { - "name": name, + "name": db_type, "args": { "dbname": test_db, "host": POSTGRES_HOST, |