1
0
Fork 0

Replace splat import in tests.

This commit is contained in:
Amjith Ramanujam 2015-01-30 18:59:09 -08:00
parent cf0f33ff01
commit d324b27e41
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
import pytest
from utils import *
from pgcli.pgexecute import PGExecute
from utils import (POSTGRES_HOST, POSTGRES_USER, create_db, db_connection,
drop_tables)
import pgcli.pgexecute
@pytest.yield_fixture(scope="function")
@ -21,5 +22,5 @@ def cursor(connection):
@pytest.fixture
def executor(connection):
return PGExecute(database='_test_db', user=POSTGRES_USER, host=POSTGRES_HOST,
password=None, port=None)
return pgcli.pgexecute.PGExecute(database='_test_db', user=POSTGRES_USER,
host=POSTGRES_HOST, password=None, port=None)