Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrucc-io committed Nov 21, 2024
1 parent 906cf42 commit 721f06f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest
from clickhouse_driver import Client
import time
from houseplant.clickhouse_client import ClickHouseClient


def check_clickhouse_connection(host="localhost", port=9000, attempts=3):
Expand Down Expand Up @@ -32,8 +33,6 @@ def clickhouse_service():
@pytest.fixture
def ch_client(clickhouse_service):
"""Create a fresh database for each test."""
from houseplant.clickhouse_client import ClickHouseClient

test_db = f"houseplant_test_{time.time_ns()}"

ch_client = Client(host=clickhouse_service["host"], port=clickhouse_service["port"])
Expand Down

0 comments on commit 721f06f

Please sign in to comment.