aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/tests/test_service.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/sdc/tests/test_service.py')
-rw-r--r--onap-client/onap_client/sdc/tests/test_service.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/onap-client/onap_client/sdc/tests/test_service.py b/onap-client/onap_client/sdc/tests/test_service.py
index 77eadbd..ad79a44 100644
--- a/onap-client/onap_client/sdc/tests/test_service.py
+++ b/onap-client/onap_client/sdc/tests/test_service.py
@@ -102,6 +102,12 @@ def test_vnf_create():
"uniqueId": SERVICE_MODEL_ID,
}
)
+ mockup_catalog_item(
+ oc.sdc.service.catalog_items["GET_SERVICE_BY_NAME_VERSION"],
+ override_uri_params={"catalog_service_name": SERVICE_NAME, "catalog_service_version": "1.0"},
+ override_return_data={},
+ status=404
+ )
service = Service(
instantiation_type="A-la-carte",