diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-02-08 14:54:57 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-02-08 14:54:57 -0800 |
commit | 7091dce672477e54a74210f7b412c8aa3d009365 (patch) | |
tree | c961e5cf6eaf03a916ec574e6464f0cc42045bef /tests/utils.py | |
parent | 767f1a7a097db4165f6029baf01d320b501c424f (diff) |
Revert psycopg2cffi to psycopg2.
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 158fa1e3..9b7376f1 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,5 +1,5 @@ import pytest -import psycopg2cffi +import psycopg2 from pgcli.main import format_output # TODO: should this be somehow be divined from environment? @@ -7,7 +7,7 @@ POSTGRES_USER, POSTGRES_HOST = 'postgres', 'localhost' def db_connection(dbname=None): - conn = psycopg2cffi.connect(user=POSTGRES_USER, host=POSTGRES_HOST, dbname=dbname) + conn = psycopg2.connect(user=POSTGRES_USER, host=POSTGRES_HOST, dbname=dbname) conn.autocommit = True return conn |