From: Andreas Geissler Date: Wed, 7 May 2025 09:26:34 +0000 (+0200) Subject: [TESTS] Use official PythonSDK and add missing testcases X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=47b80147bda9f14dd18fecd3de3243bbd8fdb23c;p=integration%2Fxtesting.git [TESTS] Use official PythonSDK and add missing testcases - use onapsdk version installed via requirements.txt of pythonsdk-tests - add missing testcases Issue-ID: INT-2294 Change-Id: Ie8b117ca2418f91d97c9232d300b9375b888e322 Signed-off-by: Andreas Geissler --- diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile index 8de2a1f..571dffa 100644 --- a/smoke-usecases-pythonsdk/docker/Dockerfile +++ b/smoke-usecases-pythonsdk/docker/Dockerfile @@ -19,9 +19,6 @@ RUN apk add --no-cache git && \ pip3 install markupsafe==2.0.1 && \ apk del .build-deps -FROM pythonsdk-release as pythonsdk-develop -RUN pip3 install --no-cache-dir git+https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk@develop#onapsdk - FROM ${PYTHONSDK_VERSION} as final COPY docker/testcases.yaml /usr/local/lib/python3.11/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] diff --git a/smoke-usecases-pythonsdk/docker/testcases.yaml b/smoke-usecases-pythonsdk/docker/testcases.yaml index 75304da..f86f78e 100644 --- a/smoke-usecases-pythonsdk/docker/testcases.yaml +++ b/smoke-usecases-pythonsdk/docker/testcases.yaml @@ -214,6 +214,28 @@ tiers: dependencies: run: name: instantiate_pnf_without_registration_event + - + case_name: instantiate_service_without_resource + project_name: integration + enabled: true + criteria: 100 + blocking: false + description: >- + Instantiate Service without any resource + dependencies: + run: + name: instantiate_service_without_resource + - + case_name: add_delete_cnf_macro + project_name: integration + enabled: true + criteria: 100 + blocking: false + description: >- + Instantiate a service with CNF, then add and delete CNF from the service + dependencies: + run: + name: add_delete_cnf_macro - case_name: basic_prh project_name: integration