[TESTS] Use official PythonSDK and add missing testcases 46/140846/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Wed, 7 May 2025 09:26:34 +0000 (11:26 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Wed, 7 May 2025 11:24:10 +0000 (13:24 +0200)
- 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 <andreas-geissler@telekom.de>
smoke-usecases-pythonsdk/docker/Dockerfile
smoke-usecases-pythonsdk/docker/testcases.yaml

index 8de2a1f..571dffa 100644 (file)
@@ -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"]
index 75304da..f86f78e 100644 (file)
@@ -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