Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehtamohit013 committed Jul 3, 2023
1 parent 44bd446 commit 39d8335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,9 @@ def ip_with_duckDB(ip_empty, setup_duckDB):
configKey = "duckDB"
alias = _testing.DatabaseConfigHelper.get_database_config(configKey)["alias"]
engine = setup_duckDB
ip_empty.push({"conn": engine})
# Select database engine, use different sqlite database endpoint
ip_empty.run_cell("%sql " + f"{engine}" + " --alias " + alias)
ip_empty.run_cell("%sql conn" + " --alias " + alias)
yield ip_empty
# Disconnect database
ip_empty.run_cell("%sql -x " + alias)
Expand Down

0 comments on commit 39d8335

Please sign in to comment.