From 622e34db8bfae85a2c2d5fe764ed435fa10b4fea Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Sat, 26 Aug 2023 00:27:38 +0000 Subject: [PATCH] fix: stringified dir name --- .../destination-duckdb/integration_tests/integration_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/destination-duckdb/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-duckdb/integration_tests/integration_test.py index 255913dbd24a..85023a3c6f20 100644 --- a/airbyte-integrations/connectors/destination-duckdb/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-duckdb/integration_tests/integration_test.py @@ -40,7 +40,7 @@ def disable_destination_modification(monkeypatch, request): def local_file_config() -> Dict[str, str]: # create a file "myfile" in "mydir" in temp directory tmp_dir = tempfile.TemporaryDirectory() - test = os.path.join(str(tmp_dir), "test.duckdb") + test = os.path.join(str(tmp_dir.name), "test.duckdb") # f1.write_text("text to myfile") yield {"destination_path": test}