diff options
author | stark, steven <steven.stark@att.com> | 2021-05-03 15:23:46 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2021-05-03 15:23:46 -0700 |
commit | 7530353e6ad1839f74af4c361b5215d68d78e0c7 (patch) | |
tree | 4ced6892125c356afab335b59cd33928fc78b242 /onap-client/onap_client/sdc/tests/test_vsp.py | |
parent | 057a991e03dcee33caa4e0d6be758aebaced2df0 (diff) |
[VVP] vsp creates for first time user
If the user has never used the SDC dashboard,
the request to retrieve LM details fails.
Issue-ID: VVP-535
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I55d0c02e6de4c5fdd1a0f5cc20d9c2cd706f855b
Diffstat (limited to 'onap-client/onap_client/sdc/tests/test_vsp.py')
-rw-r--r-- | onap-client/onap_client/sdc/tests/test_vsp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/onap-client/onap_client/sdc/tests/test_vsp.py b/onap-client/onap_client/sdc/tests/test_vsp.py index cd35a90..f401b22 100644 --- a/onap-client/onap_client/sdc/tests/test_vsp.py +++ b/onap-client/onap_client/sdc/tests/test_vsp.py @@ -64,6 +64,10 @@ def test_vsp_create(): }, ) mockup_catalog_item( + oc.sdc.license_model.catalog_items["GET_LICENSE_MODEL_VERSION"], + override_uri_params={"license_model_id": LICENSE_MODEL_ID, "license_model_version_id": LICENSE_MODEL_VERSION_ID}, + ) + mockup_catalog_item( oc.sdc.license_model.catalog_items["GET_LICENSE_MODEL_VERSIONS"], override_return_data={ "results": [{"name": LICENSE_MODEL_NAME, "id": LICENSE_MODEL_VERSION_ID}] |