Skip to content

Commit

Permalink
PR #37 quickfix for slow individual process testing
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jan 25, 2024
1 parent e02b347 commit 3ccaed1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/openeo_test_suite/lib/process_selection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import functools
import logging
from dataclasses import dataclass
from typing import Iterable, List, Optional, Union
Expand Down Expand Up @@ -39,6 +40,8 @@ def set_process_selection_from_config(config: pytest.Config):
)


# TODO: more structural/testable solution for get_selected_processes related caching?
@functools.lru_cache()
def get_selected_processes() -> Iterable[ProcessData]:
"""
Get effective list of processes extracted from the process registry
Expand Down

0 comments on commit 3ccaed1

Please sign in to comment.