summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2015-05-14 08:40:27 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2015-05-14 08:40:27 -0700
commitf906183b7ea20780fa76822bff5b1a9eccd0223c (patch)
tree918999d07baf892af703609d6b88fe1dbc02f6ce
parent0c9c51b4f770f072f33e07695615d2e52cd796c0 (diff)
Fix a typo in the test fixture setup.
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index b240a097..5cdc8849 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -9,7 +9,7 @@ POSTGRES_USER, POSTGRES_HOST = 'postgres', 'localhost'
def db_connection(dbname=None):
- conn = psycopg2.connect(user=POSTGRES_USER, host=POSTGRES_HOST, dbname=dbname)
+ conn = psycopg2.connect(user=POSTGRES_USER, host=POSTGRES_HOST, database=dbname)
conn.autocommit = True
return conn