Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Refactor process test example pars…
Browse files Browse the repository at this point in the history
…ing/listing to openeo_test_suite.lib.processes.registry
  • Loading branch information
soxofaan committed Jan 23, 2024
1 parent a7ee0ae commit 1ff18ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/internal-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
python -m pip install .
- name: "Internal tests"
run: |
export OPENEO_TEST_SUITE_PROCESSES_TEST_ROOT=openeo-test-suite/assets/processes/tests
export OPENEO_TEST_SUITE_PROCESSES_TEST_ROOT=assets/processes/tests
pytest src/openeo_test_suite/lib/internal-tests/
2 changes: 1 addition & 1 deletion src/openeo_test_suite/lib/processes/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, root: Optional[Path] = None):
"""
self._root = Path(
root
# TODO: elimiante need for this env var
# TODO: eliminate need for this env var
or os.environ.get("OPENEO_TEST_SUITE_PROCESSES_TEST_ROOT")
# TODO: make this default path compatible with packaging
or (Path(openeo_test_suite.__file__).parents[2] / "assets/processes/tests")
Expand Down

0 comments on commit 1ff18ce

Please sign in to comment.