diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-05-14 08:40:27 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-05-14 08:40:27 -0700 |
commit | f906183b7ea20780fa76822bff5b1a9eccd0223c (patch) | |
tree | 918999d07baf892af703609d6b88fe1dbc02f6ce /tests | |
parent | 0c9c51b4f770f072f33e07695615d2e52cd796c0 (diff) |
Fix a typo in the test fixture setup.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utils.py | 2 |
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 |