From 0d940b556fe7ab0efe9fd9a7bd1c90e90f6e2822 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 22 Jan 2024 15:54:54 +0100 Subject: [PATCH] Issue #13 fix inter-testfile import issues use "prepend" mode again, instead of newer "importlib" which does not allow inter-testfile imports --- pyproject.toml | 2 +- tests/test_openeo_gfmap/__init__.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/test_openeo_gfmap/__init__.py diff --git a/pyproject.toml b/pyproject.toml index af71af1..eb16ffb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ testpaths = [ "tests", ] addopts = [ - "--import-mode=importlib", + "--import-mode=prepend", ] [tool.isort] diff --git a/tests/test_openeo_gfmap/__init__.py b/tests/test_openeo_gfmap/__init__.py new file mode 100644 index 0000000..e69de29