From 35598b24994e5954ff2dd69dd6379943601aa492 Mon Sep 17 00:00:00 2001 From: Sandro Campos Date: Tue, 27 Aug 2024 11:08:02 -0400 Subject: [PATCH] Create temp directory for each soap args --- tests/hipscat_import/test_run_soap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hipscat_import/test_run_soap.py b/tests/hipscat_import/test_run_soap.py index 19c0033..f43c7df 100644 --- a/tests/hipscat_import/test_run_soap.py +++ b/tests/hipscat_import/test_run_soap.py @@ -10,7 +10,7 @@ @pytest.mark.dask def test_object_to_self_write_to_cloud( dask_client, - tmp_path, + tmp_path_factory, tmp_cloud_path, small_sky_dir_local, small_sky_order1_dir_local, @@ -35,7 +35,7 @@ def test_object_to_self_write_to_cloud( output_path=tmp_cloud_path, output_storage_options=storage_options, progress_bar=False, - tmp_dir=tmp_path, + tmp_dir=tmp_path_factory.mktemp("small_sky_order_to_order1"), ) runner.run(small_sky_soap_args, dask_client) @@ -66,7 +66,7 @@ def test_object_to_self_write_to_cloud( output_path=tmp_cloud_path, output_storage_options=storage_options, progress_bar=False, - tmp_dir=tmp_path, + tmp_dir=tmp_path_factory.mktemp("small_sky_to_order1_soft"), ) runner.run(small_sky_soap_args, dask_client)