Skip to content

Commit

Permalink
format and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mehtamohit013 committed Jul 3, 2023
1 parent 739b1a1 commit 3ae41b5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import uuid
import duckdb


def pytest_addoption(parser):
parser.addoption("--live", action="store_true")

Expand Down Expand Up @@ -238,12 +239,7 @@ def ip_with_duckDB(ip_empty, setup_duckDB):
alias = _testing.DatabaseConfigHelper.get_database_config(configKey)["alias"]
engine = setup_duckDB
# Select database engine, use different sqlite database endpoint
ip_empty.run_cell(
"%sql "
+ f"{engine}"
+ " --alias "
+ alias
)
ip_empty.run_cell("%sql " + f"{engine}" + " --alias " + alias)
yield ip_empty
# Disconnect database
ip_empty.run_cell("%sql -x " + alias)
Expand Down

0 comments on commit 3ae41b5

Please sign in to comment.