File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/core/engine_adapter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import typing as t
22
3- import os
43import pandas as pd # noqa: TID253
54import pytest
65from pytest_mock .plugin import MockerFixture
@@ -110,12 +109,13 @@ def test_drop_catalog(make_mocked_engine_adapter: t.Callable) -> None:
110109
111110
112111def test_ducklake_partitioning (adapter : EngineAdapter , duck_conn , tmp_path ):
113- os .chdir (tmp_path )
114112 catalog = "a_ducklake_db"
115113
116114 duck_conn .install_extension ("ducklake" )
117115 duck_conn .load_extension ("ducklake" )
118- duck_conn .execute (f"ATTACH 'ducklake:{ catalog } ';" )
116+ duck_conn .execute (
117+ f"ATTACH 'ducklake:{ catalog } .ducklake' AS { catalog } (DATA_PATH '{ tmp_path } ');"
118+ )
119119
120120 # no partitions on catalog creation
121121 partition_info = duck_conn .execute (
You can’t perform that action at this time.
0 commit comments