From 6ac0160dfda73ddba8f88cd118f1eeafbd4d1159 Mon Sep 17 00:00:00 2001 From: Jeremy Hooke Date: Mon, 11 Jul 2022 13:36:32 +1000 Subject: [PATCH] Update old test case to use newer assert --- tests/integration/prepare/test_prepare_sentinel_l1.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/integration/prepare/test_prepare_sentinel_l1.py b/tests/integration/prepare/test_prepare_sentinel_l1.py index 7a05d68e..abd739a4 100644 --- a/tests/integration/prepare/test_prepare_sentinel_l1.py +++ b/tests/integration/prepare/test_prepare_sentinel_l1.py @@ -580,9 +580,7 @@ def test_run_multigranule(tmp_path: Path): assert res.exit_code == 0, res.output # There should still be no sibling files in the input directory -- we're using an output folder. - assert ( - len(list(ESA_MULTIGRANULE_DATASET.parent.iterdir())) == 1 - ), "Input directory should not get any new files" + check_input_dir_normal() dataset_name = ( "S2A_OPER_PRD_MSIL1C_PDMC_20161213T162432_R088_V20151007T012016_20151007T012016"