Skip to content

Commit 5777565

Browse files
committed
unit tests are updated to remove outdated stitchee arguments
1 parent 75025f1 commit 5777565

4 files changed

Lines changed: 1 addition & 10 deletions

File tree

tests/integration/test_concat_with_subsetting_first.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_concat_with_subsetting_first(temp_output_dir):
1717
"stop": dt.datetime(2024, 5, 13, 20, 0, 0),
1818
},
1919
spatial=BBox(-130, 30, -115, 35),
20+
extend=False,
2021
concatenate=False,
2122
)
2223
if not request.is_valid():
@@ -40,8 +41,6 @@ def test_concat_with_subsetting_first(temp_output_dir):
4041
),
4142
concat_dim="mirror_step",
4243
concat_method="xarray-concat",
43-
write_tmp_flat_concatenated=True,
44-
keep_tmp_files=True,
4544
)
4645

4746
assert output_path

tests/integration/test_history_construction.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def test_construct_and_append_history_for_sample_concatenation(
2323
output_path = stitchee(
2424
files_to_concat=prepared_input_files,
2525
output_file=output_path,
26-
write_tmp_flat_concatenated=True,
27-
keep_tmp_files=True,
2826
concat_method="xarray-concat",
2927
history_to_append=new_history_json,
3028
concat_dim="step",

tests/local/test_stitchee_with_local_files.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ def run_verification_with_stitchee(
3636
output_path = stitchee(
3737
files_to_concat=prepared_input_files,
3838
output_file=output_path,
39-
write_tmp_flat_concatenated=True,
40-
keep_tmp_files=True,
4139
concat_method=concat_method,
4240
concat_dim=record_dim_name,
4341
concat_kwargs=concat_kwargs,

tests/unit/test_run_stitchee.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def test_run_stitchee_cli_with_three_filepaths(self, temp_output_dir):
3737
path_str(granules_path, "TEMPO_NO2_L2_V03_20240601T210934Z_S012G01_subsetted.nc4"),
3838
path_str(granules_path, "TEMPO_NO2_L2_V03_20240601T211614Z_S012G02_subsetted.nc4"),
3939
path_str(granules_path, "TEMPO_NO2_L2_V03_20240601T212254Z_S012G03_subsetted.nc4"),
40-
"--copy_input_files",
4140
"--verbose",
4241
"-o",
4342
path_str(temp_output_dir, "test_run_stitchee_output.nc"),
@@ -54,7 +53,6 @@ def test_run_stitchee_cli_with_one_directorypath(self, temp_output_dir):
5453
test_args = [
5554
concatenator.run_stitchee.__file__,
5655
str(granules_path),
57-
"--copy_input_files",
5856
"--verbose",
5957
"-o",
6058
path_str(temp_output_dir, "test_run_stitchee_output.nc"),
@@ -71,7 +69,6 @@ def test_run_stitchee_cli_with_one_netCDFpath(self, temp_output_dir):
7169
test_args = [
7270
concatenator.run_stitchee.__file__,
7371
path_str(granules_path, "TEMPO_NO2_L2_V03_20240601T210934Z_S012G01_subsetted.nc4"),
74-
"--copy_input_files",
7572
"--verbose",
7673
"-o",
7774
path_str(temp_output_dir, "test_run_stitchee_output.nc"),
@@ -90,7 +87,6 @@ def test_run_stitchee_cli_with_one_path_to_text_listing_of_three_files(
9087
test_args = [
9188
concatenator.run_stitchee.__file__,
9289
str(text_file_with_three_paths),
93-
"--copy_input_files",
9490
"--verbose",
9591
"-o",
9692
path_str(temp_output_dir, "test_run_stitchee_output.nc"),

0 commit comments

Comments
 (0)