Skip to content

Commit 03c557e

Browse files
committed
Fix end-to-end test
1 parent a25ceda commit 03c557e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

CI/SCRIPTS_SNAP/test_all_sat_end_to_end_on_disk.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,12 @@ def _test_core(
142142

143143
pattern_paths = []
144144
for prod_dir in prod_dirs:
145-
pattern_paths += files.get_file_in_dir(
146-
prod_dir, pattern, exact_name=True, get_list=True
147-
)
145+
try:
146+
pattern_paths += files.get_file_in_dir(
147+
prod_dir, pattern, exact_name=True, get_list=True
148+
)
149+
except FileNotFoundError:
150+
continue
148151

149152
for path in pattern_paths:
150153
LOGGER.info(
@@ -434,6 +437,7 @@ def test_l1_mss():
434437
def test_pla():
435438
"""Function testing the support of PlanetScope constellation"""
436439
_test_core_optical("*202*1014*")
440+
_test_core_optical("*202*245e*")
437441

438442

439443
@dask_env

0 commit comments

Comments
 (0)