From 544f23718f99461c02f15f5608a0b36c41aada2b Mon Sep 17 00:00:00 2001 From: anikaweinmann Date: Mon, 9 Dec 2024 15:51:28 +0100 Subject: [PATCH] fix tests --- .github/workflows/test.yml | 2 +- src/actinia_module_plugin/endpoints.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b23d59..de6dde4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Replace run integration test command run: | - sed -i "s+mundialis/actinia:latest+mundialis/actinia:2.8.0+g" docker/actinia-module-plugin-test/Dockerfile + sed -i "s+mundialis/actinia:latest+mundialis/actinia:2.9.2_G83+g" docker/actinia-module-plugin-test/Dockerfile - name: Tests of actinia-module-plugin id: docker_build uses: docker/build-push-action@v6 diff --git a/src/actinia_module_plugin/endpoints.py b/src/actinia_module_plugin/endpoints.py index 6d47daf..ccfc766 100644 --- a/src/actinia_module_plugin/endpoints.py +++ b/src/actinia_module_plugin/endpoints.py @@ -29,8 +29,6 @@ # from actinia_module_plugin.resources.logging import log -from actinia_core.endpoints import get_endpoint_class_name - from actinia_module_plugin.api.modules.grass import ListModules from actinia_module_plugin.api.modules.grass import DescribeModule from actinia_module_plugin.api.modules.actinia import ListProcessChainTemplates @@ -47,6 +45,8 @@ from actinia_module_plugin.api.actinia_templates import ActiniaTemplate from actinia_module_plugin.api.actinia_templates import ActiniaTemplateId +from actinia_core.endpoints import get_endpoint_class_name + def create_project_endpoints(apidoc, projects_url_part="projects"): """Function to add resources with "project" inside the endpoint url.