Skip to content

Commit

Permalink
PR #37 add debug logging of why a process is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jan 25, 2024
1 parent cd0a0e7 commit 3984219
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/openeo_test_suite/lib/process_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def get_processes_filtered(
level = process_data.level

if process_data.experimental and not experimental:
_log.debug(f"Skipping process {pid!r}: experimental")
continue

if process_ids and pid in process_ids:
Expand All @@ -113,3 +114,7 @@ def get_processes_filtered(
elif not process_ids and not process_levels:
# No id or level allow lists: no filtering
yield process_data
else:
_log.debug(
f"Skipping process {pid!r}: not in allow lists {process_levels=} or {process_ids=}"
)

0 comments on commit 3984219

Please sign in to comment.