diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-30 18:59:09 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-30 18:59:09 -0800 |
commit | d324b27e41aee52b044e5647a4a13aecc9130c3e (patch) | |
tree | cce817e919bee96d41c35932bfddf9260e53edfc /tests | |
parent | cf0f33ff01a9f84b621420a070ad5dc9f922a972 (diff) |
Replace splat import in tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index a7dd8586..dfe86e8f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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) |